diff options
-rw-r--r-- | manifests/pnp4nagios.pp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/manifests/pnp4nagios.pp b/manifests/pnp4nagios.pp index bb695fb..bd7ab0c 100644 --- a/manifests/pnp4nagios.pp +++ b/manifests/pnp4nagios.pp @@ -2,17 +2,11 @@ class nagios::pnp4nagios { include nagios::defaults::pnp4nagios - package { 'pnp4nagios-web-config-nagios3': - ensure => installed - } - - package { 'pnp4nagios': + package { [ 'pnp4nagios', 'pnp4nagios-web-config-nagios3']: ensure => installed, - require => Package['pnp4nagios-web-config-nagios3'], + require => Package['nagios'] } - - # unfortunatly we can't use the nagios_host and nagios_service # definition to define templates, so we need to copy a file here. # see http://projects.reductivelabs.com/issues/1180 for this limitation |