From dba28ad40cbc00533796382699f84b89fabfed04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bergstro=CC=88m?= Date: Mon, 2 Jul 2018 14:53:12 +0200 Subject: [PATCH] nagios_ip_v4 is an array --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 3b322c5c..1543faf2 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -98,7 +98,7 @@ class webserver { } class servicemonitor { - $nagios_ip_v4 = hiera('nagios_ip_v4') + $nagios_ip_v4 = join(hiera('nagios_ip_v4')," "); ufw::allow { "allow-servicemonitor-from-nagios": ip => $nagios_ip_v4, port => '444',