# the allow line as many times as you'd like
allow ^127\.0\.0\.1$
-<%=
-str = ''
-scope.lookupvar('site::localinfo').keys.sort.each do |node|
- if scope.lookupvar('site::localinfo')[node]['muninmaster']
- scope.lookupvar('site::allnodeinfo')[node]['ipHostNumber'].each do |ip|
- str += "allow ^" + ip.split('.').join('\.') + "$\n"
- end
- end
-end
-str
--%>