From 807a76efbee852f7a6a2fbdcf10e12a3dae4b5d2 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Mon, 2 Mar 2026 01:38:25 +0100 Subject: [PATCH] Recommit for updates in build 126 --- ...fdroid_nagios_3A_3Aclient_3A_3Atarget.html | 16 ++++++++++- .../confdroid_nagios_3A_3Aparams.html | 28 ++++++++++++++++--- 2 files changed, 39 insertions(+), 5 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html b/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html index 01381dd..c414f9e 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html @@ -214,7 +214,14 @@ 116 117 118 -119 +119 +120 +121 +122 +123 +124 +125 +126
# File 'manifests/client/target.pp', line 6
@@ -238,6 +245,7 @@ class confdroid_nagios::client::target (
       mode                => '0640',
       check_command       => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
       notify              => Service[$ng_service],
+      purge               => $ng_purge_target,
     }
 
     @@nagios_service { "root_partition_${fqdn}":
@@ -253,6 +261,7 @@ class confdroid_nagios::client::target (
       owner               => 'nagios',
       group               => 'nagios',
       mode                => '0640',
+      purge               => $ng_purge_target,
     }
 
     if $ng_enable_swap_check == true {
@@ -269,6 +278,7 @@ class confdroid_nagios::client::target (
         owner               => 'nagios',
         group               => 'nagios',
         mode                => '0640',
+        purge               => $ng_purge_target,
       }
     }
 
@@ -285,6 +295,7 @@ class confdroid_nagios::client::target (
       owner               => 'nagios',
       group               => 'nagios',
       mode                => '0640',
+      purge               => $ng_purge_target,
     }
 
     @@nagios_service { "Total Processes_${fqdn}":
@@ -300,6 +311,7 @@ class confdroid_nagios::client::target (
       owner               => 'nagios',
       group               => 'nagios',
       mode                => '0640',
+      purge               => $ng_purge_target,
     }
 
     @@nagios_service { "Zombie Processes_${fqdn}":
@@ -315,6 +327,7 @@ class confdroid_nagios::client::target (
       owner               => 'nagios',
       group               => 'nagios',
       mode                => '0640',
+      purge               => $ng_purge_target,
     }
 
     @@nagios_service { "Current_Load_${fqdn}":
@@ -330,6 +343,7 @@ class confdroid_nagios::client::target (
       owner               => 'nagios',
       group               => 'nagios',
       mode                => '0640',
+      purge               => $ng_purge_target,
     }
   }
 }
diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index 9c6d057..fc43319 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -989,6 +989,24 @@ inherited by all classes except defines. —

The members of the default contact group. Default is ‘nagiosadmin’.

+
+ + + +
  • + + ng_purge_target + + + (Boolean) + + + (defaults to: true) + + + — +
    +

    Whether to purge unmanaged host and services configuration files. Default is true.

  • @@ -1004,8 +1022,6 @@ inherited by all classes except defines.
     
     
    -107
    -108
     109
     110
     111
    @@ -1176,10 +1192,13 @@ inherited by all classes except defines.
     276
     277
     278
    -279
    +279 +280 +281 +282 -
    # File 'manifests/params.pp', line 107
    +        
    # File 'manifests/params.pp', line 109
     
     class confdroid_nagios::params (
     
    @@ -1196,6 +1215,7 @@ class confdroid_nagios::params (
       String $ng_check_ext_commands     = '1',
       String $ng_user                   = 'nagios',
       Boolean $ng_enable_target         = true,
    +  Boolean $ng_purge_target          = true,
     
     # contact groups
       String $ng_contactgroup_name       = 'admins',