Ask Your Question
0

Puppetmaster manifest not syncing with agents

asked 2013-10-10 13:45:40 -0500

kartikkp gravatar image

Hi all,

I have a similar issue to the question that was posed here:

https://ask.puppetlabs.com/question/2929/error-could-not-prepare-for-execution-could-not-create-pid-file-varrunpe-puppetagentpid/

This command works:

puppet agent -t --verbose

This command does not work

puppet agent site.pp (no errors thrown, just doesn't do anything)

The main issue is that the autorun (every 30 min) is not working either.

I was able to get his solution to work, but for some reason it isn't syncing the runs with the agents and the manifest is unable to create the dir without manual intervention.

I've tried restarting the master but ... (more)

edit retag flag offensive close merge delete

Comments

I'm not sure how much this is going to help, but I just ran the script in debug mode and this is the error I'm getting. Error: Could ...(more)

kartikkp gravatar imagekartikkp ( 2013-10-10 15:18:19 -0500 )edit

What are the permissions of /var/?

spuder gravatar imagespuder ( 2013-10-10 22:11:41 -0500 )edit

drwxr-xr-x. 22 root root 4.0K Apr 23 09:25 var

kartikkp gravatar imagekartikkp ( 2013-10-10 22:28:40 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-10-10 14:43:14 -0500

banjer gravatar image

updated 2013-10-10 14:45:12 -0500

Is the puppet service running on the agent(s)? You can check with:

ps aux | grep puppet
edit flag offensive delete link more

Comments

Yes, the agents are running as expected. root 2279 0.0 1.7 249248 34336 ? Ssl 12:44 0:00 /opt/puppet/bin/ruby /opt/puppet/bin/puppet agent

kartikkp gravatar imagekartikkp ( 2013-10-10 15:00:10 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-10-10 13:45:40 -0500

Seen: 301 times

Last updated: Oct 10 '13