From 3a2559e16e0f400b881c22416bf2fbc382c96d14 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 19 Dec 2012 22:41:03 +0100 Subject: [PATCH] fix script --- .../templates/static-mirroring/static-update-component.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/roles/templates/static-mirroring/static-update-component.erb b/modules/roles/templates/static-mirroring/static-update-component.erb index 9844a5a4..4ef82e5d 100755 --- a/modules/roles/templates/static-mirroring/static-update-component.erb +++ b/modules/roles/templates/static-mirroring/static-update-component.erb @@ -63,7 +63,7 @@ lines = [] masters = [] scope.lookupvar('site::localinfo').keys.sort.each do |node| if scope.lookupvar('site::localinfo')[node]['static_master'] - line << "masters+=(\"#{node}\"}" + lines << "masters+=(\"#{node}\"}" end end lines.join("\n") -- 2.39.2