On 18 Sep 2015, at 04:08, [email protected] wrote: > Our puppet master used to run using apache passenger stack. We've recently > migrated from passenger to puppetserver. When i run puppet agent -vt on my > client, its showing the following error. > > Error 400 on server : could not autoload > puppet/parser/functions/get_location: no such file to load -- pg on node > puppetmaster1 > > puppet master --version : 3.7.5 > ruby --version : 1.8.7 patch level 374-2 > --------------------- > #cat puppet/parser/functions/get_location.rb > require 'rubygems' > require 'pg' > require ‘resolv'
It seems as if you are missing the pg ruby gem within puppet server: sudo puppetserver gem install pg --no-ri --no-rdoc see: https://github.com/puppetlabs/puppet-server/blob/master/documentation/gems.markdown Best, Martin > > module Puppet::Parser::Funtions > > xxxxxx > --------------------- > > I would appreciate if someone help me fixing this issue. > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/e86265cf-cf4b-4b92-9657-64d5137adf59%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/ED4DBBFB-AC4E-4845-9032-4334A50CB318%40gmail.com. For more options, visit https://groups.google.com/d/optout.
