Hello All, I'm hoping to figure out how to use stages to reduce how many require statements are used in a particular module.
I'm using the brief examples in the documentation as a reference but I can't grep how to implement the staging. http://docs.puppetlabs.com/references/2.6.0/metaparameter.html#stage Let's say I have three classes that I've separated my content into... class foo::pre {} class foo::deploy {} class foo::configure {} I would like to stage them such that pre occurs first, followed by deploy, finished by configure. The documentation suggests you create new stages as resources. Does this mean that in each class I create the stage resource like this example? class foo::pre { stage {pre: } } class foo::deploy { stage {deploy: } } class foo::configure { stage {configure: } } The documentation also suggests you use class parameters to specify your stage. It gives the example of class { foo: stage => pre}. Does this mean you must create the stages in a different class then you use to specify the stage? I got to this point and confused myself so I'm hoping one of you can clear me up. Thanks! --Ryan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.