Re: [Puppet Users] Refreshing puppetd from within puppetd

Trevor Vaughan
Tue, 22 Jun 2010 11:15:05 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yes, I''ve never had a problem with this.

If you wanted to be sure to run it right away after the current run, I
would use an exec to fire off an ''at'' job for <insert
length of your
puppet runs + 1 minute here> minutes in the future. Make sure to set
refreshonly => true on that exec.

Trevor

On 06/22/2010 05:43 AM, David Schmitt wrote:
> On 6/22/2010 3:03 AM, Patrick Mohr wrote:
>> I push out changes to puppet.conf using puppet.  (I have gsh as a
>> backup for if I really screw things up, but I''ve never had to
use it
>> yet.)  Is there any safe and/or good way to restart puppet after a
>> change is made o it''s config?  I''m assuming that just
defining puppet
>> as a service and subscribing to puppet.conf is bad because it will
>> stop puppet in the middle of a run which might make other subscribes
>> not work.
>
> Puppetd does reload its configuration automatically when the config file
> changes. Any settings that do not get reloaded should be considered bugs
> and reported to the bug tracker.
>
>
> Best Regards, David

- --
Trevor Vaughan
 Vice President, Onyx Point, Inc.
 email: tvaughan@onyxpoint.com
 phone: 410-541-ONYX (6699)
 pgp: 0x6C701E94

- -- This account not approved for unencrypted sensitive information --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJMIJs5AAoJECNCGV1OLcyp3C8IAJrHgFxjnObmLs8BmZvYmnXZ
nHFlZtCxRxXLv3/VS2wXNjLvyIyE0Wu9uNsmnGPP0QXeIjaEXrR41tSfTNGIUqrg
rin2usvzNAtMPYJT6f+30JW5pLSleNOca4ht5nQKnK8ROUT4P0t+iKnAkoVUYACo
KjaLkVm/tu399T00j99LBoY2/amUyn3KEPBDXs5ZKiiNuwzNjMCtWor1jfyj8JFB
jNLeHI3hSYZalgPd4m7bEJugYS6NgZ4uwg/XsbOotPX/2F6wipGV8iX20TWoFfdb
Ue1r82IydJjka3dFmlBlLsnzLdBtC2vcEpFmI7KRND3tPo9M/ozubV8xzZUzEIQ=IBqx
-----END PGP SIGNATURE-----