On 03/04/2015 02:10 PM, Thomas Bendler wrote:
> /contain icinga::package/
> /contain icinga::config/
> /contain icinga::service/
> /
> /
> /Class['icinga::package'] ->/
> /Class['icinga::config'] ->/
> /Class['icinga::service']/
>
> Unfortunately the ordering isn't correct, the module try to install
> the service before the repository is added and usable. After the
> second run, everything is fine because the repository gets added
> during the first run and the configuration for the service could be
> finished. I know that require is under normal circumstances the
> solution for that situation, but in this case I can't call the class
> with the relevant parameter. Any hints?

That's fine. The relationship arrows are adequate for what you want.

Where is the repository declared? Is it a resource right in the
icinga::package class?

Can you make the whole module visible somewhere, or at least a rough
sketch of it?

Thanks,
Felix

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/54F8D4E1.9090908%40Alumni.TU-Berlin.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to