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

no such file to load -- gridutils #5

Open
aleita opened this issue Aug 10, 2018 · 0 comments
Open

no such file to load -- gridutils #5

aleita opened this issue Aug 10, 2018 · 0 comments

Comments

@aleita
Copy link

aleita commented Aug 10, 2018

Using puppet 5 I've got the following error

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, Could not autoload puppet/parser/functions/build_group_definitions: no such file to load -- gridutils (file: /etc/puppetlabs/code/environments/prebatch/modules/creamce/manifests/poolaccount.pp, line: 60, column: 18)

I managed to fix it just adding the ruby module path to the ruby path env on the puppetserver

[root@puppetmaster-2 environments]# grep ruby-load-path /etc/puppetlabs/puppetserver/conf.d/puppetserver.conf
ruby-load-path: [/opt/puppetlabs/puppet/lib/ruby/vendor_ruby, /etc/puppetlabs/code/environments/prebatch/modules/creamce/lib/]
[root@puppetmaster-2 environments]#

It must be considered a workaround.

Ale

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

1 participant