summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-03-17 13:57:47 +0100
committervarac <varacanero@zeromail.org>2016-03-17 13:57:47 +0100
commit2808a7bfd649ee30847c72ad131d6c000bac1a1f (patch)
treeccd8c1f5571f3c52816587f82eeb095d99d4b159
parentdd7443163c1471b847549de1d6d2ee7606079ee7 (diff)
parentd02d11ba8567ba8ccf257b44196e24e480974275 (diff)
Merge remote-tracking branch 'shared/master' into leap_master
-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