Re: [Puppet Users] Order class with parameter

2015-03-06 Thread Thomas Bendler
Hi Felix, 2015-03-06 11:38 GMT+01:00 Felix Frank : > [ > ​...]​ > > now I see - you're relying on https://github.com/thbe/puppet-yum to > handle the repo, yes? > > You are lacking a crucial dependency then is all. > > Class['::yum] -> > Class['icinga::package'] -> > Class['icinga::config'] -> > C

Re: [Puppet Users] Order class with parameter

2015-03-06 Thread Felix Frank
Hi, now I see - you're relying on https://github.com/thbe/puppet-yum to handle the repo, yes? You are lacking a crucial dependency then is all. Class['::yum] -> Class['icinga::package'] -> Class['icinga::config'] -> Class['icinga::service'] I'm still a little confused as to how the yum module w

Re: [Puppet Users] Order class with parameter

2015-03-06 Thread Thomas Bendler
Hi Felix, it's on the forge (https://forge.puppetlabs.com/thbe/icinga). The declaration of the repository is in the init section ( https://github.com/thbe/puppet-icinga/blob/master/manifests/init.pp). The idea behind this is a generic module for yum that allows service modules to add repositories

Re: [Puppet Users] Order class with parameter

2015-03-05 Thread Felix Frank
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 instal

[Puppet Users] Order class with parameter

2015-03-04 Thread Thomas Bendler
Hello List, I have a question about ordering of classes with parameters. My first class install the service it should install. To be able to install the service, a second class is need which add the necessary repository. So the init class look like this: *class { '::yum':* * repoIcinga => 'yes',