You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered: