Derek Yarnell
2010-Jan-18 06:19 UTC
[Puppet Users] reload/restarting puppetd after puppet.conf change
Subject basically says it all. Anyone have a good idea of how to get puppetd restarted after installing a updated puppet.conf? Using the Service types obviously doesn''t work since puppet is already running. Is there no, please reload your config on the next run option? I mean there is always some screwing with a cronjob to just restart puppet once and awhile but I dunno I was hoping for something more clean. Thanks, derek -- -- Derek Yarnell -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Ohad Levy
2010-Jan-18 06:37 UTC
Re: [Puppet Users] reload/restarting puppetd after puppet.conf change
What is the problem you are trying to solve? afaik puppet reload its config file if it has changed. saying that, I am a long cron based puppet user.. so I cant be 100% sure. (I find cron based puppet to be far more effective). cheers, Ohad On Mon, Jan 18, 2010 at 2:19 PM, Derek Yarnell <derektyarnell@gmail.com>wrote:> Subject basically says it all. Anyone have a good idea of how to get > puppetd restarted after installing a updated puppet.conf? Using the Service > types obviously doesn''t work since puppet is already running. Is there no, > please reload your config on the next run option? I mean there is always > some screwing with a cronjob to just restart puppet once and awhile but I > dunno I was hoping for something more clean. > > Thanks, > derek > > -- > -- > Derek Yarnell > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Derek Yarnell
2010-Jan-18 20:10 UTC
Re: [Puppet Users] reload/restarting puppetd after puppet.conf change
On 1/18/10 1:37 AM, Ohad Levy wrote:> What is the problem you are trying to solve? afaik puppet reload its > config file if it has changed. > > saying that, I am a long cron based puppet user.. so I cant be 100% sure. > (I find cron based puppet to be far more effective). >Yes, reloading the puppet.conf for a long running puppetd. You are obviously using the splay options if you are running from cron? Are most people running puppetd from cron and not demonizing? Thanks, derek -- -- Derek Yarnell -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Rob McBroom
2010-Jan-20 21:10 UTC
Re: [Puppet Users] reload/restarting puppetd after puppet.conf change
On Jan 18, 2010, at 1:19 AM, Derek Yarnell wrote:> Subject basically says it all. Anyone have a good idea of how to get puppetd restarted after installing a updated puppet.conf?It’s automatic. Check the logs on the client. I did this for a while, then undid it when I realized I had blown away puppet.conf on my puppet master. :) -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
JL
2010-Jan-20 21:15 UTC
[Puppet Users] Re: reload/restarting puppetd after puppet.conf change
> It’s automatic. Check the logs on the client.Is this true for puppetmasterd as well? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Rob McBroom
2010-Jan-20 21:33 UTC
Re: [Puppet Users] Re: reload/restarting puppetd after puppet.conf change
On Jan 20, 2010, at 4:15 PM, JL wrote:> Is this true for puppetmasterd as well?If I recall, my Puppet Master wasn’t destroyed until I restarted it (I think it ran for a while with a nearly empty config), so no. But that was a pretty stressful day, so I could be remembering wrong. :) -- Rob McBroom <http://www.skurfer.com/> The magnitude of a problem does not affect its ownership. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
JL
2010-Jan-21 19:17 UTC
[Puppet Users] Re: reload/restarting puppetd after puppet.conf change
> If I recall, my Puppet Master wasn’t destroyed until I restarted it (I think it ran for a while with a nearly empty config), so no. But that was a pretty stressful day, so I could be remembering wrong. :)It looks like puppetmasterd automatically reparses: puppetmasterd[6163]: [ID 702911 local1.notice] Reparsing /etc/puppet/ puppet.conf So I guess there is no need to restart puppetd or puppetmasterd on puppet.conf changes. As there any definitive documentation on this? Does anyone know if puppetmasterd should ever be restarted (for example if tagmail.conf or fileserver.conf are changed)? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Eric Gerlach
2010-Jan-22 23:07 UTC
Re: [Puppet Users] Re: reload/restarting puppetd after puppet.conf change
On Thu, Jan 21, 2010 at 11:17:29AM -0800, JL wrote:> > If I recall, my Puppet Master wasn’t destroyed until I restarted it (I think it ran for a while with a nearly empty config), so no. But that was a pretty stressful day, so I could be remembering wrong. :) > > It looks like puppetmasterd automatically reparses: > > puppetmasterd[6163]: [ID 702911 local1.notice] Reparsing /etc/puppet/ > puppet.conf > > So I guess there is no need to restart puppetd or puppetmasterd on > puppet.conf changes. As there any definitive documentation on this? > Does anyone know if puppetmasterd should ever be restarted (for > example if tagmail.conf or fileserver.conf are changed)?I don''t know about that, and I don''t know if this is fixed in 0.25.x, but in 0.24.x if you changed the "listen" parameter in puppet.conf while puppetd was running it would not change its listen state. A restart was required. I think. Cheers, -- Eric Gerlach, Network Administrator Federation of Students University of Waterloo p: (519) 888-4567 x36329 e: egerlach@feds.uwaterloo.ca -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.