I used genconfig to create the /etc/puppet/puppet.conf file. I also noticed that the agent places the run file in /var/run/puppet/
On Sunday, June 23, 2013 3:22:56 PM UTC-5, Matthaus Litteken wrote: > > Kenneth, > Have you edited puppet.conf since installing puppet? The puppet rpm > lays down a default puppet.conf that includes rundir=/var/run/puppet > under [main], which makes pidfile /var/run/puppet/agent.pid and > /var/run/puppet/master.pid. A fresh install of puppet 3.2.1 for me > resulted in the following: > > [root@el6-64 ~]# yum install puppet-3.2.1 > Loaded plugins: fastestmirror > Loading mirror speeds from cached hostfile > * base: centos.mirror.facebook.net > * extras: centos.mirror.ndchost.com > * updates: centos.mirror.ndchost.com > Setting up Install Process > Resolving Dependencies > --> Running transaction check > ---> Package puppet.noarch 0:3.2.1-1.el6 will be installed > --> Finished Dependency Resolution > > Dependencies Resolved > > ===================================================================================================== > > > Package Arch Version > Repository Size > ===================================================================================================== > > > Installing: > puppet noarch 3.2.1-1.el6 > puppetlabs-products 1.0 M > > Transaction Summary > ===================================================================================================== > > > Install 1 Package(s) > > Total download size: 1.0 M > Installed size: 3.1 M > Is this ok [y/N]: y > Downloading Packages: > puppet-3.2.1-1.el6.noarch.rpm > | 1.0 MB 00:01 > Running rpm_check_debug > Running Transaction Test > Transaction Test Succeeded > Running Transaction > Installing : puppet-3.2.1-1.el6.noarch > 1/1 > Verifying : puppet-3.2.1-1.el6.noarch > 1/1 > > Installed: > puppet.noarch 0:3.2.1-1.el6 > > Complete! > [root@el6-64 ~]# /usr/bin/puppet agent --configprint pidfile > /var/run/puppet/agent.pid > [root@el6-64 ~]# /usr/bin/puppet master --configprint pidfile > /var/run/puppet/master.pid > > On Wed, Jun 19, 2013 at 7:36 AM, Kenneth Edgar > <[email protected]<javascript:>> > wrote: > > Hello, > > > > This is my first time posting, so I apologize if someone else has posted > > this before, I didn't see anything. > > > > I installed puppet-server-3.2.1-1.el6.noarch from the x86_64 > > puppetlabs-release-6-7.noarch repo. I had issues stopping and > restarting > > via the init script and did a little digging. I found that the master's > pid > > file is now in /var/lib/puppet/run/ rather than /var/run/puppet/, > however > > this change was not updated for the stop procedures in the init script. > > > > The pidfile variable should look like: > > "pidfile=/var/lib/puppet/run/master.pid" > > > > This also appears to be an issue with the puppet agent init script. > > > > Thank you, > > Ken Edgar > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "Puppet Developers" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > To post to this group, send email to > > [email protected]<javascript:>. > > > Visit this group at http://groups.google.com/group/puppet-dev. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > > > -- > Matthaus Owens > Release Manager, Puppet Labs > > Join us at PuppetConf 2013, August 22-23 in San Francisco - > http://bit.ly/pupconf13 > Register now and take advantage of the Early Bird discount - save 25%! > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-dev. For more options, visit https://groups.google.com/groups/opt_out.
