Greetings. Long story short ... configuration changes were made to my puppet clients while my puppet server was unavailable. I would like to run puppetd in such a way that it will list what files it would replace, but not actually replace them, so that I can synchronize my server with my various clients. rsync has a -n (--dry-run) option that does this. But I can''t find one in puppetd. Does such an option exist? Thanks. Eric B. Hymowitz Unix Systems Administrator Yellowbrix Inc.
Eric B. Hymowitz wrote:> Greetings. > > Long story short ... configuration changes were made to my puppet > clients while my puppet server was unavailable. I would like to run > puppetd in such a way that it will list what files it would replace, but > not actually replace them, so that I can synchronize my server with my > various clients. > > rsync has a -n (--dry-run) option that does this. But I can''t find one > in puppetd. Does such an option exist?There''s the --noop flag, which will do as you wish.
On May 11, 2007, at 7:07 AM, Eric B. Hymowitz wrote:> Greetings. > > Long story short ... configuration changes were made to my puppet > clients while my puppet server was unavailable. I would like to run > puppetd in such a way that it will list what files it would > replace, but > not actually replace them, so that I can synchronize my server with my > various clients. > > rsync has a -n (--dry-run) option that does this. But I can''t find > one > in puppetd. Does such an option exist?--noop -- I have an answering machine in my car. It says, "I''m home now. But leave a message and I''ll call when I''m out. -- Stephen Wright --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 11 May 2007, Eric B. Hymowitz wrote:> Greetings. > > Long story short ... configuration changes were made to my puppet > clients while my puppet server was unavailable. I would like to run > puppetd in such a way that it will list what files it would replace, but > not actually replace them, so that I can synchronize my server with my > various clients. > > rsync has a -n (--dry-run) option that does this. But I can''t find one > in puppetd. Does such an option exist?- --noop Have fun, David> > Thanks. > > Eric B. Hymowitz > Unix Systems Administrator > Yellowbrix Inc. > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users- -- - - hallo... wie gehts heute? - - *hust* gut *rotz* *keuch* - - gott sei dank kommunizieren wir über ein septisches medium ;) -- Matthias Leeb, Uni f. angewandte Kunst, 2005-02-15 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGRIm+/Pp1N6Uzh0URAoYHAJ41aYDNshOUfPqdsWjSRHbaEMGIBACfTIOH gtUa9RboxQNJHqZfWPzxdxc=vJbq -----END PGP SIGNATURE-----
Hmm... i''ve just enabled ''noop = true'' in my
puppetd.conf, just to be on
the safe side whilst I start migrating my network to puppet.
I''d assumed that i would be able to run ''puppetd -v -o --tags
{blah}''
from the cmdline to install elements that i was happy with, but it
appears like the ''noop'' is picked up from the config file
regardless.
I''ve checked the source and can''t see a way to override the
puppetd.conf
from the cmdline, which surprises me.
Am I missing something? Or is there a better way of doing this?
Ceri Storey wrote:> Eric B. Hymowitz wrote:
>
>> Greetings.
>>
>> Long story short ... configuration changes were made to my puppet
>> clients while my puppet server was unavailable. I would like to run
>> puppetd in such a way that it will list what files it would replace,
but
>> not actually replace them, so that I can synchronize my server with my
>> various clients.
>>
>> rsync has a -n (--dry-run) option that does this. But I can''t
find one
>> in puppetd. Does such an option exist?
>>
>
> There''s the --noop flag, which will do as you wish.
> _______________________________________________
> Puppet-users mailing list
> Puppet-users@madstop.com
> https://mail.madstop.com/mailman/listinfo/puppet-users
>
--
Mike Pountney, Information Systems Manager,
Semantico, Floor 1, 21-23 Dyke Road, Brighton BN1 3FE
<http://www.semantico.com/>
<mailto:Mike.Pountney@semantico.com>
<tel:+44-1273-722222;ext=209> <fax:+44-1273-723232>
On May 11, 2007, at 10:25 PM, Mike Pountney wrote:> Hmm... i''ve just enabled ''noop = true'' in my puppetd.conf, just to > be on > the safe side whilst I start migrating my network to puppet. > > I''d assumed that i would be able to run ''puppetd -v -o --tags {blah}'' > from the cmdline to install elements that i was happy with, but it > appears like the ''noop'' is picked up from the config file regardless. > > I''ve checked the source and can''t see a way to override the > puppetd.conf > from the cmdline, which surprises me. > > Am I missing something? Or is there a better way of doing this?You should be able to do ''puppetd --no-noop'' on the command line and it will override the config file. -- The great aim of education is not knowledge but action. -- Herbert Spencer --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com