summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/templates
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2019-07-19 23:03:52 +0200
committerJan Dittberner <jandd@cacert.org>2019-07-19 23:03:52 +0200
commita58ea6b7daa9ac708c5d5c4a0e797f95d8a49155 (patch)
tree6effc0d38abb4c88200679f0bf36d182b0116fe2 /sitemodules/profiles/templates
parent19b3bdde4f8250af81f65980486ada4630cea56e (diff)
downloadcacert-puppet-a58ea6b7daa9ac708c5d5c4a0e797f95d8a49155.tar.gz
cacert-puppet-a58ea6b7daa9ac708c5d5c4a0e797f95d8a49155.tar.xz
cacert-puppet-a58ea6b7daa9ac708c5d5c4a0e797f95d8a49155.zip
Fix hiera data and used fact for IP address
Diffstat (limited to 'sitemodules/profiles/templates')
-rw-r--r--sitemodules/profiles/templates/icinga2_master/features-available/api.conf.epp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sitemodules/profiles/templates/icinga2_master/features-available/api.conf.epp b/sitemodules/profiles/templates/icinga2_master/features-available/api.conf.epp
index 57dc0e9..cd7282c 100644
--- a/sitemodules/profiles/templates/icinga2_master/features-available/api.conf.epp
+++ b/sitemodules/profiles/templates/icinga2_master/features-available/api.conf.epp
@@ -7,7 +7,7 @@ object ApiListener "api" {
cert_path = SysconfDir + "/icinga2/pki/" + NodeName + ".crt"
key_path = SysconfDir + "/icinga2/pki/" + NodeName + ".key"
ca_path = SysconfDir + "/icinga2/pki/ca.crt"
- bind_host = "<%= $facts['ip_address'] %>"
+ bind_host = "<%= $facts['networking']['ip'] %>"
ticket_salt = TicketSalt
}