diff options
author | varac <varacanero@zeromail.org> | 2016-03-17 13:50:04 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-03-17 13:50:04 +0100 |
commit | d02d11ba8567ba8ccf257b44196e24e480974275 (patch) | |
tree | da388aac9cf9477c0ba69750b31a987620beefd6 | |
parent | f062559072e7d4281c114d799208a3d093a74a47 (diff) |
Install pnp4nagios after pnp4nagios-web-config-nagios3
Without a relationship, `pnp4nagios` will pull
`pnp4nagios-web-config-icinga` because the package
provider installs the recommends by default.
This package itself will pull in icinga as dependency then.
So we install `pnp4nagios-web-config-nagios3` before.
Patch was sent to the leap-discuss ml on March 17th.
-rw-r--r-- | manifests/pnp4nagios.pp | 11 |
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 |