-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Ruby function in control repo works in Puppet but not found in onceover #315
Comments
That's not expected to work. Puppet only looks for functions (and other ruby stuff) in the |
Note that the reason |
I can confirm it does work when used in Puppet at that location. I got the idea from this Puppet documentation which says an |
Huh you're right, I had no idea that was possible and I've never seen it used but it does say:
Which would mean root of the controlrepo should be fine... So workaround is definitely to put it in a module but I'll re-open this as it does sound like a onceover thing |
I have a function
lib/puppet/functions/fix_image_tag.rb
in my control repo. It works fine in Puppet / production but onceover fails with:Is this expected to work? Or do I need to move it into a module brought in through
Puppetfile
?The text was updated successfully, but these errors were encountered: