Kenneth,
This setting in puppet.conf:

    # Where Puppet PID files are kept.
    # The default value is '$vardir/run'.
    rundir = /var/lib/puppet/run

Will break the init scripts provided with the rpm packages, which
expect rundir to be "/var/run/puppet". If you update your rundir
setting to be /var/run/puppet, the init scripts should behave as
expected.
You will also need to either remove or update this section:

    # The file containing the PID of a running process.  This file is
intended to be used by service management frameworks and monitoring
systems to determine if a puppet process is still in the process
table.
    # The default value is '$rundir/${run_mode}.pid'.
    pidfile = /var/lib/puppet/run/master.pid

Pidfile should be /var/run/puppet/master.pid for the init script to
work. If you have rundir correctly set as mentioned above, you can
safely remove this setting as it will default to $rundir/master.pid

Hope that helps.

On Tue, Jul 2, 2013 at 12:14 PM, Kenneth Edgar <[email protected]> wrote:
> Sorry, google hasn't been sending me e-mail updates from this group, so I
> didn't notice the response right away
>
>
> On Tuesday, July 2, 2013 2:13:56 PM UTC-5, Kenneth Edgar wrote:
>>
>> Going through pro puppet, the only thing I think I've changed in this
>> config file is the name of the master which is just a test box.
>>
>> On Tuesday, June 25, 2013 11:33:20 AM UTC-5, Matthaus Litteken wrote:
>>>
>>> Kenneth, can you post your puppet.conf (or post a sanitized version)?
>>>
>>> On Tue, Jun 25, 2013 at 9:06 AM, Kenneth Edgar <[email protected]> wrote:
>>> > 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]>
>>> >> 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].
>>> >> > 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.
>>> >> >
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> 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.
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> 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.
>
>



-- 
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.


Reply via email to