From d02d11ba8567ba8ccf257b44196e24e480974275 Mon Sep 17 00:00:00 2001 From: varac Date: Thu, 17 Mar 2016 13:50:04 +0100 Subject: 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. --- manifests/pnp4nagios.pp | 11 +++++++++-- 1 file 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 -- cgit v1.2.3