summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/manifests/icinga2_common.pp
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2019-07-21 14:49:56 +0200
committerJan Dittberner <jandd@cacert.org>2019-07-21 14:49:56 +0200
commit75a96e7ce55f92c855324fe1b45017ade38e7004 (patch)
treeae08a8de3c40e2f9d451dbb3636487cde1e36fb5 /sitemodules/profiles/manifests/icinga2_common.pp
parent601b7f575aed0ae09dd2e62b8c179dede4110643 (diff)
downloadcacert-puppet-75a96e7ce55f92c855324fe1b45017ade38e7004.tar.gz
cacert-puppet-75a96e7ce55f92c855324fe1b45017ade38e7004.tar.xz
cacert-puppet-75a96e7ce55f92c855324fe1b45017ade38e7004.zip
Add missing changes for icinga2 module
Diffstat (limited to 'sitemodules/profiles/manifests/icinga2_common.pp')
-rw-r--r--sitemodules/profiles/manifests/icinga2_common.pp9
1 files changed, 2 insertions, 7 deletions
diff --git a/sitemodules/profiles/manifests/icinga2_common.pp b/sitemodules/profiles/manifests/icinga2_common.pp
index 0c9bb0a..7cfdf91 100644
--- a/sitemodules/profiles/manifests/icinga2_common.pp
+++ b/sitemodules/profiles/manifests/icinga2_common.pp
@@ -33,10 +33,8 @@ class profiles::icinga2_common (
String $master_certificate,
) {
class { '::icinga2':
- manage_repo => false,
- manage_package => false,
- manage_service => false,
- purge_features => false,
+ manage_repo => false,
+ features => ['mainlog']
}
if $::lsbdistcodename == 'stretch' {
apt::pin { 'icinga2_backports':
@@ -53,9 +51,6 @@ class profiles::icinga2_common (
}
Apt::Pin['icinga2_backports'] -> Package <| name == 'icinga2' or name == 'icinga2-ido-pgsql' |>
}
- package { 'icinga2':
- ensure => latest,
- }
file { '/var/lib/icinga2/certs':
ensure => directory,
owner => 'nagios',