[Puppet Users] Re: Include class if package exists

2014-02-11 Thread Pascal Robert
Works fine, thanks! Le mardi 11 février 2014 02:56:02 UTC-5, Daniele Sluijters a écrit : Hi, What you're actually running into is that you want the nagios::commandes class to be executed after the nagios package has been installed. In that case, use the before metaparameter: package {

[Puppet Users] Re: Include class if package exists

2014-02-10 Thread Daniele Sluijters
Hi, What you're actually running into is that you want the nagios::commandes class to be executed after the nagios package has been installed. In that case, use the before metaparameter: package { 'nagios': ensure = present, before = Class['nagios::commandes'], } This should fix your