Using simulation capability against a specific node

14 views
Skip to first unread message

Tim Williams

unread,
Jun 25, 2012, 9:39:13 AM6/25/12
to puppet...@googlegroups.com
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

Kelsey Hightower

unread,
Jun 25, 2012, 9:42:53 AM6/25/12
to puppet...@googlegroups.com
I think what you want here is to run the follow command on the specific node:

    puppet agent --test --noop 
Reply all
Reply to author
Forward
0 new messages