Martin Langhoff
2013-May-24 22:39 UTC
[Puppet Users] puppet apply -- override node name, module path
Hi folks, testing puppet configs, I have /home/martin/mytestingpuppetconfigs/{manifests,modules} and while working in there, I would like to be able to say something along the lines of: puppet apply --noop --nodename=foo01 --modulepath=./modules manifests/site.pp which should tell me what puppet wants to do to my system. Is there any practical way to achieve this? I am not planning on having one test VM per "victim" system :-p cheers, m -- martin.langhoff@gmail.com - ask interesting questions - don''t get distracted with shiny stuff - working code first ~ http://docs.moodle.org/en/User:Martin_Langhoff -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Nan Liu
2013-May-25 01:46 UTC
Re: [Puppet Users] puppet apply -- override node name, module path
On Fri, May 24, 2013 at 3:39 PM, Martin Langhoff <martin.langhoff@gmail.com>wrote:> Hi folks, > > testing puppet configs, I have > > /home/martin/mytestingpuppetconfigs/{manifests,modules} > > and while working in there, I would like to be able to say something > along the lines of: > > puppet apply --noop --nodename=foo01 --modulepath=./modules > manifests/site.pp > > which should tell me what puppet wants to do to my system. > > Is there any practical way to achieve this? I am not planning on > having one test VM per "victim" system :-pI believe you can do: puppet apply --certname=foo01 ... HTH, Nan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.