I had to get my Puppet code to a new machine, which I did not do for quite a while…
I tried the InteliJ integration of librarian-puppet (only used r10k before), but this fails at the first line of my Puppetfile:
moduledir 'modules-external'
with:
Puppetfile:1:inrun': undefined method moduledir' for #<Librarian::Puppet::Dsl::Receiver:0x0000000151469298> (NoMethodError) Did you mean? modulefile
librarian-puppet doesn't appear to support moduledir. There is an option path but I agree it would be nicer to support moduledir to be compatible with r10k.
I had to get my Puppet code to a new machine, which I did not do for quite a while…
I tried the InteliJ integration of librarian-puppet (only used r10k before), but this fails at the first line of my Puppetfile:
moduledir 'modules-external'
with:
Puppetfile:1:in
run': undefined methodmoduledir' for #<Librarian::Puppet::Dsl::Receiver:0x0000000151469298> (NoMethodError) Did you mean? modulefile
this is librarian-puppet 4.0.0.
The Puppetfile documentation still says the command exists, but only in PE branch of docs.
My environment.conf has
modulepath = "modules:modules-external:$basemodulepath"
and 'librarian-puppet config path' outputs
'modules:'
Did I miss something? Thx