]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/roles/templates/static-mirroring/static-clients.conf.erb
edbf313651cabbb82012dfa1da142392671f9180
[dsa-puppet.git] / modules / roles / templates / static-mirroring / static-clients.conf.erb
1 ##
2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ##
4
5 <%=
6
7 mirrors = []
8 scope.lookupvar('site::localinfo').keys.sort.each do |node|
9     if scope.lookupvar('site::localinfo')[node]['static_mirror']
10         mirrors << node
11     end
12 end
13
14
15 mirrors.join("\n")
16 # vim:set et:
17 # vim:set sts=4 ts=4:
18 # vim:set shiftwidth=4:
19 %>