diff options
-rw-r--r-- | sitemodules/profiles/manifests/icinga2_master.pp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/sitemodules/profiles/manifests/icinga2_master.pp b/sitemodules/profiles/manifests/icinga2_master.pp index 847272a..274e3a8 100644 --- a/sitemodules/profiles/manifests/icinga2_master.pp +++ b/sitemodules/profiles/manifests/icinga2_master.pp @@ -80,16 +80,10 @@ class profiles::icinga2_master ( } class { '::icinga2::feature::api': - pki => 'icinga2', - ticket_salt => $pki_ticket_salt, - endpoints => { - $::fqdn => {}, - }, - zones => { - $::fqdn => { - 'endpoints' => [$::fqdn], - }, - }, + pki => 'none', + ssl_cacert => $ca_certificate, + ssl_key => $master_key, + ssl_cert => $::profiles::icinga2_common::master_certificate, } icinga2::object::zone { 'global-templates': |