summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/pnp4nagios.pp11
1 files changed, 9 insertions, 2 deletions
diff --git a/manifests/pnp4nagios.pp b/manifests/pnp4nagios.pp
index 32c9a33..bb695fb 100644
--- a/manifests/pnp4nagios.pp
+++ b/manifests/pnp4nagios.pp
@@ -2,8 +2,15 @@
class nagios::pnp4nagios {
include nagios::defaults::pnp4nagios
- package { [ 'pnp4nagios', 'pnp4nagios-web-config-nagios3']:
- ensure => installed }
+ package { 'pnp4nagios-web-config-nagios3':
+ ensure => installed
+ }
+
+ package { 'pnp4nagios':
+ ensure => installed,
+ require => Package['pnp4nagios-web-config-nagios3'],
+ }
+
# unfortunatly we can't use the nagios_host and nagios_service