On 12/17/2012 03:44 PM, jcbollinger wrote:

>   * Because the run stage in which a class should be applied isn't a
>     characteristic of the class itself, but rather of how it is used

Yeah, that makes sense.


> Aha!  My own biggest objection to run stages, straight out of someone
> else's mouth!  Honestly, I'm not all that enthusiastic about run stages
> generally -- I prefer ordinary resource relationships -- but stages do
> have their uses if you can get past the parametrized-style declaration
> thing.

My biggest concern is to set up repositories before main. Everything
else uses ordinary relations and works ok.


> It should be safe to include foo_wrapper multiple times, as long as none
> of the declarations (except possibly the first one parsed) use
> parametrized class syntax, and as long as nothing else declares class
> 'foo' directly.

Yeah, I've already done the re-factoring of my code and everything works
like a charm with wrapper classes.


> You may also find that you can declare ordinary relationships with Stage
> resources (I don't actually know, so if you test it then let us know). 
> Even If so, that might or might not actually help.

I don't frankly need it, because I make relationships to wrapper
classes... But I can test it if you want.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to