summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2019-08-04 10:25:15 +0200
committerJan Dittberner <jandd@cacert.org>2019-08-04 10:25:15 +0200
commit3de1e68a65099ae085bc4d8af5e7ef2419d481bf (patch)
treea22a39ce250c52665cc28b575d983ff0b481c6c3
parent5b0f52512dcef8c980033bb218e31f1b4cee2223 (diff)
downloadcacert-puppet-3de1e68a65099ae085bc4d8af5e7ef2419d481bf.tar.gz
cacert-puppet-3de1e68a65099ae085bc4d8af5e7ef2419d481bf.tar.xz
cacert-puppet-3de1e68a65099ae085bc4d8af5e7ef2419d481bf.zip
Install nagios-plugins-contrib on Icinga2 nodes
The ssl_cert check command will be used to monitor local certificate files and is provided in the nagios-plugins-contrib package.
-rw-r--r--sitemodules/profiles/manifests/icinga2_common.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sitemodules/profiles/manifests/icinga2_common.pp b/sitemodules/profiles/manifests/icinga2_common.pp
index 12fa6ca..5991d8e 100644
--- a/sitemodules/profiles/manifests/icinga2_common.pp
+++ b/sitemodules/profiles/manifests/icinga2_common.pp
@@ -41,4 +41,8 @@ class profiles::icinga2_common (
}
Apt::Pin['icinga2_backports'] -> Class['Apt::Update'] -> Package <| tag == 'icinga2' or tag == 'icinga2-ido-pgsql' |>
}
+
+ package { 'nagios-plugins-contrib':
+ ensure => latest,
+ }
}