I admit I don't understand the internals much, but...
# puppet
a
I admit I don't understand the internals much, but I guess it could be made to work if you copied a
Gemfile
and other needed files to the root of the control repo. Otherwise you get
Copy code
$ pdk bundle exec rake -T
pdk (WARN): Unable to determine Puppet version for module: no metadata.json present in module.
pdk (INFO): Using Ruby 3.2.2
pdk (INFO): Using Puppet 8.10.0

Could not locate Gemfile or .bundle/ directory
From inside a module you get the expected
rake
tasks. But this approach seems a bit non-standard? At least I've not seen it before