On Sep 15, 2011, at 11:31 PM, Jo Rhett wrote:
> I hope I'm overlooking something obvious here. There's a lot of good stuff
> in puppet that is missing a clue doc ;-) Appreciate a clue-by-four if I
> overlooked something.
>
> I'd like to be able to apply a puppet policy on demand from a node. For
> example:
> puppet agent --test --debug --class fixjavainstall
>
> The obvious purpose is to test a new class before applying it to many
> systems. Yes, I can do this:
> node /test-node/ inherits normal-node-class {
> fixjavainstall
> }
>
> But this means checking files in and out of SVN, and is a bit heavy for a
> simple test. I can also copy the class file down to the system and run
> puppet apply fixjavainstall.pp
>
> …but this only tests the class in isolation, not as part of the entire policy.
>
> Any better idea for testing new classes or modules within the entire policy
> run would be appreciated.
----
I thought that was the point of environments.
Craig
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.