Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method `moduledir' #100

Open
netwz opened this issue Apr 17, 2023 · 1 comment
Open

undefined method `moduledir' #100

netwz opened this issue Apr 17, 2023 · 1 comment

Comments

@netwz
Copy link

netwz commented Apr 17, 2023

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 method moduledir' 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

@ekohl
Copy link
Member

ekohl commented May 24, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants