Thanks for the replies John and Al. I've spent some time re-designing my
module. It's now a few separate modules that use smaller chains and is far
more readable.

Cheers,

Justin

On Mon, Sep 17, 2012 at 10:28 AM, jcbollinger <john.bollin...@stjude.org>wrote:

>
>
> On Monday, September 17, 2012 9:31:41 AM UTC-5, Alessandro Franceschi
> wrote:
>>
>> It feels like you're overusing a bit too much run stages...
>
>
> That's putting it mildly.
>
>
>> Read here for usage recommendations (and limitations):
>> http://docs.puppetlabs.com/**puppet/2.7/reference/lang_run_**stages.html<http://docs.puppetlabs.com/puppet/2.7/reference/lang_run_stages.html>
>> You can more easily manage relationships inside a class (all the mysql
>> steps can be managed inside the same mysql module) and maybe attributes
>> like require or before can result easier to manage than chains, in this
>> case.
>>
>>
> +1
>
> Indeed, there is nothing you can do with stages that you cannot also
> accomplish with ordinary resource relationships.  Stages basically allow
> you to define a lot of relationships in a simple, compact way, but for
> ordering small numbers or resources that all know about each other they
> cost a lot more than ordinary relationships.
>
>
> John
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/_mUruEmIk6sJ.
>
> 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.
>

-- 
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