I am getting the following error:
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Could not autoload parsejson: no such file to load -- json at /
etc/puppetlabs/puppet/modules/ntp/manifests/init.pp:2 on node
The file is on the puppet master server:
% locate parsejson.rb
OK here is my output for the different commands with "puppet agent --
test" running:
# service pe-puppet-agent status
* could not access PID file for agent
# service --status-all | grep puppet
[ - ] pe-puppet-agent
# ps aux | grep puppet
/opt/puppet/bin/ruby1.8 /usr/local/bin/puppet agent --test
OK so you will have to for give me here. I am not sure what RC
means,
but is what you're saying is that the PE version puppet is likely
causing the issue?
Eric,
I added the ensure => stopped as these machine no do get rebooted
that often and enable => false only works to stop the service on boo
Ok so we are running puppet agent via cron jobs and have the puppet
agent set to the following:
service { "pe-puppet-agent":
enable => false,
ensure => stopped,
hasstatus => true,
hasrestart => true,
}
so i need to get something out to all of out servers urgently a
Ok i ran it in noop to see what would happen and i guess that my noop
command was not run quick enough, it seems to be working now. thanks
for the help.
On Sep 22, 3:38 pm, mbargar wrote:
> Eric,
> Doing "/etc/init.d | grep puppet" displays "pe-puppet-agent"
>
s pe-puppet and not pe-puppet-agent…
>
> Check in /etc/init.d.
>
> --
> Join us for PuppetConf (http://www.bit.ly/puppetconfsig), September 22nd and
> 23rd in Portland, OR.
>
> Eric Shamow
> Professional Serviceshttp://puppetlabs.com/
> (c)631.871.6441
>
>
>
I have written the manifest that creates the cron jobs and those
actully are created ok, but my issue is that i have the following
service { "pe-puppet-agent":
enable => false,
ensure => stopped,
}
and for some reason it will set the enable to false but it does not
stop the puppet ser