summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/manifests/icinga2_common.pp
diff options
context:
space:
mode:
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',