summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/manifests/icinga2_satellite.pp
diff options
context:
space:
mode:
Diffstat (limited to 'sitemodules/profiles/manifests/icinga2_satellite.pp')
-rw-r--r--sitemodules/profiles/manifests/icinga2_satellite.pp10
1 files changed, 9 insertions, 1 deletions
diff --git a/sitemodules/profiles/manifests/icinga2_satellite.pp b/sitemodules/profiles/manifests/icinga2_satellite.pp
index 82ff7f7..2dea62b 100644
--- a/sitemodules/profiles/manifests/icinga2_satellite.pp
+++ b/sitemodules/profiles/manifests/icinga2_satellite.pp
@@ -35,13 +35,21 @@ class profiles::icinga2_satellite {
group => 'root',
mode => '0755',
}
+
+ $cacert_class1_file = '/usr/local/share/ca-certificates/cacert_class1_X0F.crt'
+ $cacert_class3_file = '/usr/local/share/ca-certificates/cacert_class3_2021.crt'
+
file { '/usr/local/lib/nagios/plugins/check_ocsp':
ensure => file,
owner => 'root',
group => 'root',
mode => '0755',
source => 'puppet:///modules/profiles/icinga2_external_commands/check_ocsp',
- require => Package['ca-cacert'],
+ require => [
+ Package['ca-certificates'],
+ File[$cacert_class1_file],
+ File[$cacert_class3_file]
+ ],
}
package {['rsync', 'python3-nagiosplugin', 'python3-cryptography']: