Try to avoid reserved site keyword
[mirror/dsa-puppet.git] / modules / roles / templates / static-mirroring / static-clients.conf.erb
index 33f9644..6d2cd5b 100644 (file)
@@ -5,9 +5,9 @@
 <%=
 
 # do not include mirrors in static_mirror_nopush
-static_mirror_nopush = scope.lookupvar('site::roles')['static_mirror_nopush']
+static_mirror_nopush = scope.lookupvar('deprecated::roles')['static_mirror_nopush']
 
-scope.lookupvar('site::roles')['static_mirror'].reject{ |x| static_mirror_nopush.include?(x) }.join("\n")
+scope.lookupvar('deprecated::roles')['static_mirror'].reject{ |x| static_mirror_nopush.include?(x) }.join("\n")
 
 # vim:set et:
 # vim:set sts=4 ts=4: