On Mar 13, 4:24 pm, Christian McHugh <[email protected]> wrote: > I appreciate the interest but I don't understand how you can tell me you > don't have any experience with the module but yet know that I'm doing it > wrong.
I didn't say you were doing it wrong. I said you were incorrect that run stages are the only way to address your ordering issue. I can be completely confident in that assessment because, as I said, there is NOTHING you can do with run stages that you cannot also do with ordinary resource relationships. Run stages are basically an abstraction layer on top of ordinary relationships, with their own support in the DSL, but the price for their greater abstraction is less precision. I state simple facts when I say that run stages are a crude tool relative to ordinary resource relationships, and that they have caused problems for some people. If you solve your problem via run stages then great, but I don't need to know any details about the module to recommend that you consider a more precise tool. > The puppetlabs firewall module does not have classes or anything > else to base a dependency on. Clearly you have a misapprehension. Puppet allows you to assign classes to nodes, and it allows you to directly assign resources to nodes, but it provides no other mechanism for managing nodes. Any module must provide one or the other to have any (direct) use at all. Perhaps you fail to recognize that defined type instances are resources just like any other. I mean, I can't imagine what else you might be using that you could think was neither a class nor a resource. But defined type instances are resources, so you can use all the ordinary metaparameters with them (including requires / before / subscribe / notify), you can use them in resource chaining expressions, you can declare them abstractly or export them, you can express references to them, you can collect them, etc. just like any other resource. > I agree, I would rather not use stages, which > is why I originally posted this to see how folks were making it go. > > If you do find a way to order rules without stages I'd love to hear about > it. No "finding" is required. If you can achieve the order you want with stages then you can achieve it without. I am willing to assist you with that if you wish, but you'll need to specify to me the resources and order you want. Other than that, there is nothing specific to the firewall module here. John -- 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.
