Re: [Puppet Users] Re: Service entry for puppet agents not working

2016-08-09 Thread Bret Wortman
They matched. Good thought, though. *Bret Wortman* http://wrapbuddies.co/ On Tue, Aug 9, 2016 at 9:11 AM, Rob Nelson wrote: > > On Tue, Aug 9, 2016 at 8:51 AM, Bret Wortman wrote: > >> What I failed to mention before is that the failure scenario is that I'll >> get a

Re: [Puppet Users] Re: Service entry for puppet agents not working

2016-08-09 Thread Rob Nelson
On Tue, Aug 9, 2016 at 8:51 AM, Bret Wortman wrote: > What I failed to mention before is that the failure scenario is that I'll > get a "Could not evaluate: Could not retrieve file metadata for > puppet:///modules/ourlib/pip.conf: end of file reached" > Maybe try adding something like "/usr/bin/

[Puppet Users] Re: Service entry for puppet agents not working

2016-08-09 Thread Bret Wortman
In trying to work out the environmental differences, I _have_ noticed that the daemon runs as the puppet user, but when I run it interactively, it runs as root. As root, it works, as puppet, it works, but from root's crontab, it doesn't. What I failed to mention before is that the failure scena

Re: [Puppet Users] Re: Service entry for puppet agents not working

2016-08-08 Thread Bret Wortman
The affected node (or, at least, the one I'm looking at) doesn't actually have rundir set. The hunt for a rational explanation and ideal solution goes on. :-) Thanks, Rob! *Bret Wortman* http://wrapbuddies.co/ On Mon, Aug 8, 2016 at 12:07 PM, Rob Nelson wrote: > > On

Re: [Puppet Users] Re: Service entry for puppet agents not working

2016-08-08 Thread Rob Nelson
On Mon, Aug 8, 2016 at 11:09 AM, Bret Wortman wrote: > Yep, it's not finding the pidfile because the init script is looking in > /var/run/puppet/agent.pid and the daemon is putting it at > /var/lib/puppet/run/agent.pid. So for now I'm going to modify the init > script wherever we are having this

[Puppet Users] Re: Service entry for puppet agents not working

2016-08-08 Thread Bret Wortman
Yep, it's not finding the pidfile because the init script is looking in /var/run/puppet/agent.pid and the daemon is putting it at /var/lib/puppet/run/agent.pid. So for now I'm going to modify the init script wherever we are having this problem. We're upgrading the systems as we update them to C