From: Julien Cristau Date: Sun, 6 Aug 2017 22:25:37 +0000 (-0400) Subject: Fix template syntax X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=a00e40b023f4f5d6bc491fa98d05c11ae4b24379;p=mirror%2Fdsa-puppet.git Fix template syntax --- diff --git a/modules/ferm/templates/defs.conf.erb b/modules/ferm/templates/defs.conf.erb index 229213920..fdeb3b544 100644 --- a/modules/ferm/templates/defs.conf.erb +++ b/modules/ferm/templates/defs.conf.erb @@ -73,7 +73,7 @@ @def $HOST_RCODE0_V6 = (2A02:850:8::/47); @def $HOST_NETNOD_V4 = (192.71.80.0/24 192.36.144.222 192.36.144.218); -<%= +<% def getfastlyranges() begin data = YAML.safe_load(File.open("/srv/puppet.debian.org/puppet-facts/fastly_ranges.yaml").read)