From: Peter Palfrader Date: Tue, 16 Oct 2018 13:58:20 +0000 (+0200) Subject: try a HEREdoc as the syntax checker seems to have issues with multi-line strings X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=381d542248c8a609b5e4c71aa8f1a76ee84cf76f;p=mirror%2Fdsa-puppet.git try a HEREdoc as the syntax checker seems to have issues with multi-line strings --- diff --git a/modules/ferm/manifests/per_host.pp b/modules/ferm/manifests/per_host.pp index 648f3e24f..e40d306ea 100644 --- a/modules/ferm/manifests/per_host.pp +++ b/modules/ferm/manifests/per_host.pp @@ -130,12 +130,14 @@ class ferm::per_host { description => 'Allow postgress access', domain => '(ip ip6)', # quantz, master, coccia - rule => '&SERVICE_RANGE(tcp, 5452, ( - 5.153.231.28/32 2001:41c8:1000:21::21:28/128 # quantz - 82.195.75.110/32 2001:41b8:202:deb:216:36ff:fe40:4001/128 # master - 5.153.231.11/32 2001:41c8:1000:21::21:11/128 # coccia - 5.153.231.29/32 2001:41c8:1000:21::21:29/128 # respighi - ))' + rule => @(EOF) + &SERVICE_RANGE(tcp, 5452, ( + 5.153.231.28/32 2001:41c8:1000:21::21:28/128 # quantz + 82.195.75.110/32 2001:41b8:202:deb:216:36ff:fe40:4001/128 # master + 5.153.231.11/32 2001:41c8:1000:21::21:11/128 # coccia + 5.153.231.29/32 2001:41c8:1000:21::21:29/128 # respighi + )) + | EOF } } fasolo: {