Documentation by YARD 0.9.36
-Alphabetic Index
- -Puppet Class Listing A-Z
- - -
-
-
-
|
-
File Listing
--
-
-
-
- README - - -
From 82dc4194cec49ff3c4892bb9ffcee20cf46c0dbc Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Sun, 29 Mar 2026 16:03:32 +0200 Subject: [PATCH 1/9] OP#547 remove unwanted things from git --- Jenkinsfile | 2 + doc/_index.html | 143 ----- doc/css/common.css | 8 - doc/css/full_list.css | 58 -- doc/css/style.css | 497 ------------------ doc/file.README.html | 134 ----- doc/frames.html | 22 - doc/index.html | 134 ----- doc/js/app.js | 314 ----------- doc/js/full_list.js | 216 -------- doc/js/jquery.js | 4 - doc/puppet_class_list.html | 92 ---- doc/puppet_classes/confdroid_automatic.html | 121 ----- ...droid_automatic_3A_3Amain_3A_3Aconfig.html | 130 ----- ...nfdroid_automatic_3A_3Amain_3A_3Adirs.html | 130 ----- ...fdroid_automatic_3A_3Amain_3A_3Afiles.html | 158 ------ ...roid_automatic_3A_3Amain_3A_3Ainstall.html | 134 ----- ...roid_automatic_3A_3Amain_3A_3Aservice.html | 144 ----- .../confdroid_automatic_3A_3Aparams.html | 400 -------------- doc/top-level-namespace.html | 98 ---- 20 files changed, 2 insertions(+), 2937 deletions(-) delete mode 100644 doc/_index.html delete mode 100644 doc/css/common.css delete mode 100644 doc/css/full_list.css delete mode 100644 doc/css/style.css delete mode 100644 doc/file.README.html delete mode 100644 doc/frames.html delete mode 100644 doc/index.html delete mode 100644 doc/js/app.js delete mode 100644 doc/js/full_list.js delete mode 100644 doc/js/jquery.js delete mode 100644 doc/puppet_class_list.html delete mode 100644 doc/puppet_classes/confdroid_automatic.html delete mode 100644 doc/puppet_classes/confdroid_automatic_3A_3Amain_3A_3Aconfig.html delete mode 100644 doc/puppet_classes/confdroid_automatic_3A_3Amain_3A_3Adirs.html delete mode 100644 doc/puppet_classes/confdroid_automatic_3A_3Amain_3A_3Afiles.html delete mode 100644 doc/puppet_classes/confdroid_automatic_3A_3Amain_3A_3Ainstall.html delete mode 100644 doc/puppet_classes/confdroid_automatic_3A_3Amain_3A_3Aservice.html delete mode 100644 doc/puppet_classes/confdroid_automatic_3A_3Aparams.html delete mode 100644 doc/top-level-namespace.html diff --git a/Jenkinsfile b/Jenkinsfile index 268d25e..9f2c26f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -118,6 +118,8 @@ pipeline { git branch -D development git branch -D jenkins-build-$BUILD_NUMBER git rm -f Jenkinsfile + git rm -r --cached .scannerwork || echo "No .scannerwork to remove from git" + git rm -r --cached .yardoc || echo "No .yardoc to remove from git" git rm -r --cached .vscode || echo "No .vscode to remove from git" git commit --amend --no-edit --allow-empty git remote add master https://sourcecode.confdroid.com/confdroid/confdroid_automatic.git diff --git a/doc/_index.html b/doc/_index.html deleted file mode 100644 index dff28cb..0000000 --- a/doc/_index.html +++ /dev/null @@ -1,143 +0,0 @@ - - -
- - -
-
-
-
|
-
| t |
- - - -6 -7 -8- |
-
- # File 'manifests/init.pp', line 6
-
-class confdroid_automatic {
- include confdroid_automatic::params
-}
- |
-
confdroid_automatic::main::config.pp Module name: confdroid_automatic Author: 12ww1160 (12ww1160@confdroid.com)
- -
- - - -6 -7 -8 -9 -10- |
-
- # File 'manifests/main/config.pp', line 6
-
-class confdroid_automatic::main::config (
-
-) inherits confdroid_automatic::params {
- include confdroid_automatic::main::service
-}
- |
-
confdroid_automatic::main::dirs.pp Module name: confdroid_automatic Author: 12ww1160 (12ww1160@confdroid.com)
- -
- - - -6 -7 -8 -9 -10- |
-
- # File 'manifests/main/dirs.pp', line 6
-
-class confdroid_automatic::main::dirs (
-
-) inherits confdroid_automatic::params {
- require confdroid_automatic::main::install
-}
- |
-
confdroid_automatic::main::files.pp Module name: confdroid_automatic Author: 12ww1160 (12ww1160@confdroid.com)
- -
- - - -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24- |
-
- # File 'manifests/main/files.pp', line 6
-
-class confdroid_automatic::main::files (
-
-) inherits confdroid_automatic::params {
- require confdroid_automatic::main::dirs
-
- file { $ac_main_config:
- ensure => file,
- path => $ac_main_config,
- owner => 'root',
- group => 'root',
- mode => '0644',
- selrange => s0,
- selrole => object_r,
- seltype => etc_t,
- seluser => system_u,
- content => template($ac_main_config_erb),
- notify => Service[$ac_service],
- }
-}
- |
-
confdroid_automatic::main::install.pp Module name: confdroid_automatic Author: 12ww1160 (12ww1160@confdroid.com)
- -
- - - -6 -7 -8 -9 -10 -11 -12- |
-
- # File 'manifests/main/install.pp', line 6
-
-class confdroid_automatic::main::install (
-
-) inherits confdroid_automatic::params {
- package { $ac_reqpackages:
- ensure => $ac_pkg_ensure,
- }
-}
- |
-
confdroid_automatic::main::service.pp Module name: confdroid_automatic Author: 12ww1160 (12ww1160@confdroid.com)
- -
- - - -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17- |
-
- # File 'manifests/main/service.pp', line 6
-
-class confdroid_automatic::main::service (
-
-) inherits confdroid_automatic::params {
- require confdroid_automatic::main::files
-
- service { $ac_service:
- ensure => running,
- hasstatus => true,
- hasrestart => true,
- enable => true,
- }
-}
- |
-
confdroid_automatic::params.pp Module name: confdroid_automatic Author: 12ww1160 (12ww1160@confdroid.com)
- -
- - - -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49- |
-
- # File 'manifests/params.pp', line 17
-
-class confdroid_automatic::params (
-
- String $ac_reqpackages = 'dnf-automatic',
- String $ac_pkg_ensure = 'latest',
-
- # updates
- String $ac_upgrade_type = 'default',
- String $ac_random_sleep = '0',
- String $ac_network_online_timeout = '60',
- String $ac_download_updates = 'yes',
- String $ac_apply_updates = 'yes',
- String $ac_reboot = 'never',
- String $ac_emit_via = 'email',
- String $ac_email_to = 'root@example.net',
- String $ac_email_host = 'localhost',
-
-) {
-# Facts
- $fqdn = $facts['networking']['fqdn']
- $domain = $facts['networking']['domain']
- $os_name = $facts['os']['name']
- $os_release = $facts['os']['release']['major']
-
-# Service
- $ac_service = 'dnf-automatic.timer'
-
-# Files
- $ac_main_config = '/etc/dnf/automatic.conf'
- $ac_main_config_erb = 'confdroid_automatic/automatic.conf.erb'
-
-# includes must be last
- include confdroid_automatic::main::config
-}
- |
-
+
+
+
|
+
| t |
+ + + +6 +7 +8+ |
+
+ # File 'manifests/init.pp', line 6
+
+class confdroid_automatic {
+ include confdroid_automatic::params
+}
+ |
+
confdroid_automatic::main::config.pp Module name: confdroid_automatic Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10+ |
+
+ # File 'manifests/main/config.pp', line 6
+
+class confdroid_automatic::main::config (
+
+) inherits confdroid_automatic::params {
+ include confdroid_automatic::main::service
+}
+ |
+
confdroid_automatic::main::dirs.pp Module name: confdroid_automatic Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10+ |
+
+ # File 'manifests/main/dirs.pp', line 6
+
+class confdroid_automatic::main::dirs (
+
+) inherits confdroid_automatic::params {
+ require confdroid_automatic::main::install
+}
+ |
+
confdroid_automatic::main::files.pp Module name: confdroid_automatic Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24+ |
+
+ # File 'manifests/main/files.pp', line 6
+
+class confdroid_automatic::main::files (
+
+) inherits confdroid_automatic::params {
+ require confdroid_automatic::main::dirs
+
+ file { $ac_main_config:
+ ensure => file,
+ path => $ac_main_config,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ selrange => s0,
+ selrole => object_r,
+ seltype => etc_t,
+ seluser => system_u,
+ content => template($ac_main_config_erb),
+ notify => Service[$ac_service],
+ }
+}
+ |
+
confdroid_automatic::main::install.pp Module name: confdroid_automatic Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10 +11 +12+ |
+
+ # File 'manifests/main/install.pp', line 6
+
+class confdroid_automatic::main::install (
+
+) inherits confdroid_automatic::params {
+ package { $ac_reqpackages:
+ ensure => $ac_pkg_ensure,
+ }
+}
+ |
+
confdroid_automatic::main::service.pp Module name: confdroid_automatic Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17+ |
+
+ # File 'manifests/main/service.pp', line 6
+
+class confdroid_automatic::main::service (
+
+) inherits confdroid_automatic::params {
+ require confdroid_automatic::main::files
+
+ service { $ac_service:
+ ensure => running,
+ hasstatus => true,
+ hasrestart => true,
+ enable => true,
+ }
+}
+ |
+
confdroid_automatic::params.pp Module name: confdroid_automatic Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49+ |
+
+ # File 'manifests/params.pp', line 17
+
+class confdroid_automatic::params (
+
+ String $ac_reqpackages = 'dnf-automatic',
+ String $ac_pkg_ensure = 'latest',
+
+ # updates
+ String $ac_upgrade_type = 'default',
+ String $ac_random_sleep = '0',
+ String $ac_network_online_timeout = '60',
+ String $ac_download_updates = 'yes',
+ String $ac_apply_updates = 'yes',
+ String $ac_reboot = 'never',
+ String $ac_emit_via = 'email',
+ String $ac_email_to = 'root@example.net',
+ String $ac_email_host = 'localhost',
+
+) {
+# Facts
+ $fqdn = $facts['networking']['fqdn']
+ $domain = $facts['networking']['domain']
+ $os_name = $facts['os']['name']
+ $os_release = $facts['os']['release']['major']
+
+# Service
+ $ac_service = 'dnf-automatic.timer'
+
+# Files
+ $ac_main_config = '/etc/dnf/automatic.conf'
+ $ac_main_config_erb = 'confdroid_automatic/automatic.conf.erb'
+
+# includes must be last
+ include confdroid_automatic::main::config
+}
+ |
+
+
+
+
|
+
| t |
+ + + +6 +7 +8+ |
+
+ # File 'manifests/init.pp', line 6
+
+class confdroid_automatic {
+ include confdroid_automatic::params
+}
+ |
+
confdroid_automatic::main::config.pp Module name: confdroid_automatic Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10+ |
+
+ # File 'manifests/main/config.pp', line 6
+
+class confdroid_automatic::main::config (
+
+) inherits confdroid_automatic::params {
+ include confdroid_automatic::main::service
+}
+ |
+
confdroid_automatic::main::dirs.pp Module name: confdroid_automatic Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10+ |
+
+ # File 'manifests/main/dirs.pp', line 6
+
+class confdroid_automatic::main::dirs (
+
+) inherits confdroid_automatic::params {
+ require confdroid_automatic::main::install
+}
+ |
+
confdroid_automatic::main::files.pp Module name: confdroid_automatic Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24+ |
+
+ # File 'manifests/main/files.pp', line 6
+
+class confdroid_automatic::main::files (
+
+) inherits confdroid_automatic::params {
+ require confdroid_automatic::main::dirs
+
+ file { $ac_main_config:
+ ensure => file,
+ path => $ac_main_config,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ selrange => s0,
+ selrole => object_r,
+ seltype => etc_t,
+ seluser => system_u,
+ content => template($ac_main_config_erb),
+ notify => Service[$ac_service],
+ }
+}
+ |
+
confdroid_automatic::main::install.pp Module name: confdroid_automatic Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10 +11 +12+ |
+
+ # File 'manifests/main/install.pp', line 6
+
+class confdroid_automatic::main::install (
+
+) inherits confdroid_automatic::params {
+ package { $ac_reqpackages:
+ ensure => $ac_pkg_ensure,
+ }
+}
+ |
+
confdroid_automatic::main::service.pp Module name: confdroid_automatic Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17+ |
+
+ # File 'manifests/main/service.pp', line 6
+
+class confdroid_automatic::main::service (
+
+) inherits confdroid_automatic::params {
+ require confdroid_automatic::main::files
+
+ service { $ac_service:
+ ensure => running,
+ hasstatus => true,
+ hasrestart => true,
+ enable => true,
+ }
+}
+ |
+
confdroid_automatic::params.pp Module name: confdroid_automatic Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+ + + +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50+ |
+
+ # File 'manifests/params.pp', line 18
+
+class confdroid_automatic::params (
+
+ String $ac_reqpackages = 'dnf-automatic',
+ String $ac_pkg_ensure = 'latest',
+
+ # updates
+ String $ac_upgrade_type = 'default',
+ String $ac_random_sleep = '0',
+ String $ac_network_online_timeout = '60',
+ String $ac_download_updates = 'yes',
+ String $ac_apply_updates = 'yes',
+ String $ac_reboot = 'never',
+ String $ac_emit_via = 'email',
+ Array[String] $ac_email_to = ['root@example.net','ops@example.net'],
+ String $ac_email_host = 'localhost',
+
+) {
+# Facts
+ $fqdn = $facts['networking']['fqdn']
+ $domain = $facts['networking']['domain']
+ $os_name = $facts['os']['name']
+ $os_release = $facts['os']['release']['major']
+
+# Service
+ $ac_service = 'dnf-automatic.timer'
+
+# Files
+ $ac_main_config = '/etc/dnf/automatic.conf'
+ $ac_main_config_erb = 'confdroid_automatic/automatic.conf.erb'
+
+# includes must be last
+ include confdroid_automatic::main::config
+}
+ |
+
dnf-automatic is a mechanism to allow automatic OS updates for Rocky 9.
+dnf-automatic is a mechanism to allow automatic OS updates for Rocky 9 and similar RHEL 9 based operating systems.
confdroid_automatic manages dnf-automatic installations and configurations.
install required binaries, files and services
+install required binaries,
manage selinux context
+mane files and directories with proper selinux context
manage main configurations files via parameters
Rocky 9
+Rocky 9 (any RHEL 9-based OS should work)
Puppet 8
All parameters are listed in params.pp and inherited from there. Variable parameters are in the upper section and also documented in the top. These can be overridden by the ENC. Parameters in the bottom section (curly brackets) cannot be overridden and usually are used for keeping the code in the classes more readable.
ALmost every puppet setup is done in very custom ways, and hence the way the modules are deployed to nodes are different. This module assumes Foreman as ENC, so the modules just have to be present on the master node and Foreman will take care for it.
+All files and directories are configured with correct selinux context. If selinux is disabled, these contexts are ignored.
+ +native Puppet deployment
+via site.pp or nodes.pp
+ +node 'example.example.net' {
+ include automatic
+}
+
+through Foreman:
+In order to apply parameters through Foreman, confdroid_automatic::params- must be added to the host or host group in question.
+ +See more details about class deployment on confdroid.com.
dnf-automatic is a mechanism to allow automatic OS updates for Rocky 9.
+dnf-automatic is a mechanism to allow automatic OS updates for Rocky 9 and similar RHEL 9 based operating systems.
confdroid_automatic manages dnf-automatic installations and configurations.
install required binaries, files and services
+install required binaries,
manage selinux context
+mane files and directories with proper selinux context
manage main configurations files via parameters
Rocky 9
+Rocky 9 (any RHEL 9-based OS should work)
Puppet 8
All parameters are listed in params.pp and inherited from there. Variable parameters are in the upper section and also documented in the top. These can be overridden by the ENC. Parameters in the bottom section (curly brackets) cannot be overridden and usually are used for keeping the code in the classes more readable.
ALmost every puppet setup is done in very custom ways, and hence the way the modules are deployed to nodes are different. This module assumes Foreman as ENC, so the modules just have to be present on the master node and Foreman will take care for it.
+All files and directories are configured with correct selinux context. If selinux is disabled, these contexts are ignored.
+ +native Puppet deployment
+via site.pp or nodes.pp
+ +node 'example.example.net' {
+ include automatic
+}
+
+through Foreman:
+In order to apply parameters through Foreman, confdroid_automatic::params- must be added to the host or host group in question.
+ +See more details about class deployment on confdroid.com.
confdroid_automatic manages dnf-automatic installations and configurations.
Choose the required update and reboot policy per host, host group, environment etc. Set the email notification about updates, that’s all it needs.
+@@ -103,7 +105,7 @@
install required binaries,
- -
mane files and directories with proper selinux context
+manage files and directories with proper selinux context
manage main configurations files via parameters
- @@ -135,7 +137,7 @@
via site.pp or nodes.pp
node 'example.example.net' { - include automatic + include confdroid_automatic }
- @@ -160,6 +162,8 @@
ERB Template Parser
Sonar Quality Gate
+- +
End-to-end deployments in Rocky-9 environments
Contact Us
diff --git a/doc/index.html b/doc/index.html index a8d5e78..1712b7c 100644 --- a/doc/index.html +++ b/doc/index.html @@ -93,6 +93,8 @@+
confdroid_automaticmanages dnf-automatic installations and configurations.Choose the required update and reboot policy per host, host group, environment etc. Set the email notification about updates, that’s all it needs.
+WARNING
@@ -103,7 +105,7 @@
install required binaries,
- -
mane files and directories with proper selinux context
+manage files and directories with proper selinux context
manage main configurations files via parameters
- @@ -135,7 +137,7 @@
via site.pp or nodes.pp
node 'example.example.net' { - include automatic + include confdroid_automatic }
- @@ -160,6 +162,8 @@
ERB Template Parser
Sonar Quality Gate
+- +
End-to-end deployments in Rocky-9 environments
Contact Us
From 2c27a98db4e4a6a73ed0916ef0c18f9ed776b0ce Mon Sep 17 00:00:00 2001 From: Jenkins ServerDate: Tue, 31 Mar 2026 15:52:51 +0200 Subject: [PATCH 7/9] Recommit for updates in build 10 --- doc/file.README.html | 27 +-------------------------- doc/index.html | 27 +-------------------------- 2 files changed, 2 insertions(+), 52 deletions(-) diff --git a/doc/file.README.html b/doc/file.README.html index 68989ec..e8f7413 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -60,32 +60,7 @@ Readme
- -+
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
![]()
![]()
- Readme - Synopsis - WARNING - Features - Dependencies - Support - Parameter Inheritance - SELINUX - Deployment - Tests - Contact Us - Disclaimer
Synopsis
diff --git a/doc/index.html b/doc/index.html index 1712b7c..fa7b8cd 100644 --- a/doc/index.html +++ b/doc/index.html @@ -60,32 +60,7 @@Readme
- -+
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
![]()
![]()
- Readme - Synopsis - WARNING - Features - Dependencies - Support - Parameter Inheritance - SELINUX - Deployment - Tests - Contact Us - Disclaimer
Synopsis
From 171893d8e31be27c0e6f792db25e4a28b7c669d8 Mon Sep 17 00:00:00 2001 From: Jenkins ServerDate: Thu, 30 Apr 2026 11:52:27 +0200 Subject: [PATCH 8/9] Recommit for updates in build 12 --- .../confdroid_automatic_3A_3Aparams.html | 40 ++++++++++++++++--- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/doc/puppet_classes/confdroid_automatic_3A_3Aparams.html b/doc/puppet_classes/confdroid_automatic_3A_3Aparams.html index b10768b..668797f 100644 --- a/doc/puppet_classes/confdroid_automatic_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_automatic_3A_3Aparams.html @@ -300,6 +300,24 @@ — + + + +which host to use to send the email
+- + + ac_excludepkgs + + + (Variant[String, Array[String]]) + + + (defaults to: []) + + + — +
@@ -315,7 +333,6 @@+packages to exclude from updates
-18 19 20 21 @@ -347,15 +364,23 @@ 47 48 49 -50+50 +51 +52 +53 +54 +55 +56 +57- # File 'manifests/params.pp', line 18 ++10 +11 +12 +13 +14# File 'manifests/params.pp', line 19 class confdroid_automatic::params ( - String $ac_reqpackages = 'dnf-automatic', - String $ac_pkg_ensure = 'latest', + String $ac_reqpackages = 'dnf-automatic', + String $ac_pkg_ensure = 'latest', + Variant[String, Array[String]] $ac_excludepkgs = [], # updates String $ac_upgrade_type = 'default', @@ -382,6 +407,11 @@ class confdroid_automatic::params ( $ac_main_config = '/etc/dnf/automatic.conf' $ac_main_config_erb = 'confdroid_automatic/automatic.conf.erb' + $ac_excludepkgs_normalized = $ac_excludepkgs ? { + Array => join($ac_excludepkgs, ','), + default => $ac_excludepkgs, + } + # includes must be last include confdroid_automatic::main::config }From b839f491d13a16ec391eef93b3405735a529e7e4 Mon Sep 17 00:00:00 2001 From: Jenkins ServerDate: Thu, 24 Sep 2026 15:35:45 +0200 Subject: [PATCH 9/9] Recommit for updates in build 14 --- ...droid_automatic_3A_3Amain_3A_3Aconfig.html | 10 +- .../confdroid_automatic_3A_3Aparams.html | 96 +++++++++++++++++-- 2 files changed, 99 insertions(+), 7 deletions(-) diff --git a/doc/puppet_classes/confdroid_automatic_3A_3Amain_3A_3Aconfig.html b/doc/puppet_classes/confdroid_automatic_3A_3Amain_3A_3Aconfig.html index 27bfe2e..a0c2d2e 100644 --- a/doc/puppet_classes/confdroid_automatic_3A_3Amain_3A_3Aconfig.html +++ b/doc/puppet_classes/confdroid_automatic_3A_3Amain_3A_3Aconfig.html @@ -105,7 +105,11 @@ 7 8 9 -10 diff --git a/doc/puppet_classes/confdroid_automatic_3A_3Aparams.html b/doc/puppet_classes/confdroid_automatic_3A_3Aparams.html index 668797f..d6e7496 100644 --- a/doc/puppet_classes/confdroid_automatic_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_automatic_3A_3Aparams.html @@ -318,6 +318,78 @@ — # File 'manifests/main/config.pp', line 6 @@ -114,6 +118,10 @@ class confdroid_automatic::main::config ( ) inherits confdroid_automatic::params { include confdroid_automatic::main::service + + if $ac_manage_nagios == true { + include confdroid_automatic::monitoring::target + } }+ + + +packages to exclude from updates
+- + + ac_manage_nagios + + + (Boolean) + + + (defaults to: false) + + + — +
+ +++ +whether to manage nagios monitoring
+- + + ac_target_service + + + (String) + + + (defaults to: '/etc/nagios/conf.d/automatic_service.cfg') + + + — +
+ +++ +where to write the nagios service config
+- + + ac_target_contacts + + + (String) + + + (defaults to: 'nagiosadmin') + + + — +
+ +++ +which nagios contacts to use
+- + + ac_procs_allowed + + + (String) + + + (defaults to: '1:') + + + — +
@@ -333,10 +405,6 @@+how many processes are allowed to run
-19 -20 -21 -22 23 24 25 @@ -371,10 +439,20 @@ 54 55 56 -57+57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67- # File 'manifests/params.pp', line 19 +# File 'manifests/params.pp', line 23 class confdroid_automatic::params ( @@ -393,6 +471,12 @@ class confdroid_automatic::params ( String $ac_email_to = 'root@example.net', String $ac_email_host = 'localhost', + # monitoring + Boolean $ac_manage_nagios = false, + String $ac_target_service = '/etc/nagios/conf.d/automatic_service.cfg', + String $ac_target_contacts = 'nagiosadmin', + String $ac_procs_allowed = '1:', + ) { # Facts $fqdn = $facts['networking']['fqdn']