From 9f8a8f75b93cfb93effc539ae6d5a424d85e33fc Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Sun, 6 Aug 2017 18:51:09 -0400 Subject: [PATCH] Fix getfastlyranges harder --- modules/ferm/templates/defs.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ferm/templates/defs.conf.erb b/modules/ferm/templates/defs.conf.erb index 84f726a34..6e6b0a4ca 100644 --- a/modules/ferm/templates/defs.conf.erb +++ b/modules/ferm/templates/defs.conf.erb @@ -77,7 +77,7 @@ def getfastlyranges() begin data = YAML.safe_load(File.open("/srv/puppet.debian.org/puppet-facts/fastly_ranges.yaml").read) - return data.addresses + return data['addresses'] rescue return [] end -- 2.20.1