From 7658c09e83a4ee4e6686bc3818f377033a779536 Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Mon, 9 Mar 2026 15:28:03 +0100 Subject: [PATCH] OP#436 try installation --- manifests/main/install.pp | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/manifests/main/install.pp b/manifests/main/install.pp index ed50ebc..61cb766 100644 --- a/manifests/main/install.pp +++ b/manifests/main/install.pp @@ -24,15 +24,12 @@ class confdroid_nagios::main::install ( } } - # if we are not the nagios server, install only client packages - if $fqdn != $ng_nagios_server { - package { $ng_reqpackages_client: - ensure => $ng_pkg_ensure, - } + package { $ng_reqpackages_client: + ensure => $ng_pkg_ensure, + } - # if we want to use NRPE on clients, install it - if $ng_include_nrpe == true { - require confdroid_nrpe - } + # if we want to use NRPE on clients, install it + if $ng_include_nrpe == true { + require confdroid_nrpe } }