Set the Ruby load path
The ruby_load_path
setting determines where Puppet Server finds components
such as Puppet and Facter.
The default setting is:
$puppetserver_jruby_puppet_ruby_load_path = [ \ '/opt/puppetlabs/puppet/lib/ruby/vendor_ruby', \ '/opt/puppetlabs/puppet/cache/lib']
If you change the
libdir
you must also change the vardir
.You can change the load path array in pe.conf
.
- On your primary server, open the
pe.conf
file in a text editor. - Add the following parameter and specify the new load path array:
puppet_enterprise::master::puppetserver::puppetserver_jruby_puppet_ruby_load_path: \ ['<PATH1>', '<PATH2>']
- Save the file and run:
puppet agent -t