Tim Williams
2012-Jun-25 13:39 UTC
[Puppet Users] Using simulation capability against a specific node
I''ve just learned of the ''noop'' flag on apply and it is really nice. Only, I can''t figure out how to get it to do what I want and I wonder if I misunderstand how it''s supposed to be used. I''ve got several different types of nodes in a cluster where each type gets some combination of the modules on puppetmaster applied to them. So, when I change a module, I was thinking ''puppet apply --noop'' would allow me to see what that change would look like on a node of that type. Currently, it seems to compare to the "current" system - the puppetmaster in this case. So is there a way to do this same sort of simulation against a specific node? Or elsewhere I should be looking? Any pointers are greatly appreciated. Thanks, --tim -- 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.
Kelsey Hightower
2012-Jun-25 13:42 UTC
[Puppet Users] Re: Using simulation capability against a specific node
On Monday, June 25, 2012 9:39:13 AM UTC-4, williamstw wrote:> > I''ve just learned of the ''noop'' flag on apply and it is really nice. > Only, I can''t figure out how to get it to do what I want and I wonder > if I misunderstand how it''s supposed to be used. > > I''ve got several different types of nodes in a cluster where each type > gets some combination of the modules on puppetmaster applied to them. > > So, when I change a module, I was thinking ''puppet apply --noop'' would > allow me to see what that change would look like on a node of that > type. Currently, it seems to compare to the "current" system - the > puppetmaster in this case. So is there a way to do this same sort of > simulation against a specific node? Or elsewhere I should be looking? > Any pointers are greatly appreciated. > > Thanks, > --tim >I think what you want here is to run the follow command on the specific node: *puppet agent* --test --*noop* -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/qYTU-X6vx4AJ. 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.