summaryrefslogtreecommitdiff
path: root/sitemodules
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2019-07-21 14:52:06 +0200
committerJan Dittberner <jandd@cacert.org>2019-07-21 14:52:06 +0200
commitad8764fe234a82cad8031bf6507d5033b99dc065 (patch)
tree6d473702fc6ca03b7f1decf12d8c1df93e5d57da /sitemodules
parent75a96e7ce55f92c855324fe1b45017ade38e7004 (diff)
downloadcacert-puppet-ad8764fe234a82cad8031bf6507d5033b99dc065.tar.gz
cacert-puppet-ad8764fe234a82cad8031bf6507d5033b99dc065.tar.xz
cacert-puppet-ad8764fe234a82cad8031bf6507d5033b99dc065.zip
Do not manage certs in icinga2_common
Diffstat (limited to 'sitemodules')
-rw-r--r--sitemodules/profiles/manifests/icinga2_common.pp39
1 files changed, 16 insertions, 23 deletions
diff --git a/sitemodules/profiles/manifests/icinga2_common.pp b/sitemodules/profiles/manifests/icinga2_common.pp
index 7cfdf91..7e81af2 100644
--- a/sitemodules/profiles/manifests/icinga2_common.pp
+++ b/sitemodules/profiles/manifests/icinga2_common.pp
@@ -51,27 +51,20 @@ class profiles::icinga2_common (
}
Apt::Pin['icinga2_backports'] -> Package <| name == 'icinga2' or name == 'icinga2-ido-pgsql' |>
}
- file { '/var/lib/icinga2/certs':
- ensure => directory,
- owner => 'nagios',
- group => 'nagios',
- mode => '0700',
- require => Package['icinga2'],
- }
- file { '/var/lib/icinga2/certs/ca.crt':
- ensure => file,
- content => $ca_certificate,
- owner => 'nagios',
- group => 'nagios',
- mode => '0644',
- require => File['/var/lib/icinga2/certs'],
- }
- file { "/var/lib/icinga2/certs/${master_host}.crt":
- ensure => file,
- content => $master_certificate,
- owner => 'nagios',
- group => 'nagios',
- mode => '0644',
- require => File['/var/lib/icinga2/certs'],
- }
+ #file { '/var/lib/icinga2/certs/ca.crt':
+ # ensure => file,
+ # content => $ca_certificate,
+ # owner => 'nagios',
+ # group => 'nagios',
+ # mode => '0644',
+ # require => File['/var/lib/icinga2/certs'],
+ #}
+ #file { "/var/lib/icinga2/certs/${master_host}.crt":
+ # ensure => file,
+ # content => $master_certificate,
+ # owner => 'nagios',
+ # group => 'nagios',
+ # mode => '0644',
+ # require => File['/var/lib/icinga2/certs'],
+ #}
}