switch the statis hosts to hiera roles
[mirror/dsa-puppet.git] / modules / samhain / templates / samhainrc.erb
index 9bc3019..262c71a 100644 (file)
@@ -103,13 +103,10 @@ file=/etc/bind/geodns/recvconf.files
 file=/etc/bind/named.conf.options
 <% end -%>
 file=/etc/apache2/conf.d/puppet-builddlist
-<% if classes.include?("roles::static_mirror") -%>
+<% if classes.include?("roles::static_mirror_web") -%>
 file=/etc/apache2/sites-available/static-vhosts-simple
-file=/etc/static-clients.conf
 <% elsif classes.include?("staticsync::static_master") -%>
 file=/etc/static-clients.conf
-<% elsif classes.include?("roles::static_source") -%>
-file=/etc/static-clients.conf
 <% end -%>
 <% if classes.include?("apache2") -%>
 file=/etc/apache2/conf-available/puppet-ssl-key-pins.conf
@@ -185,10 +182,6 @@ file=/etc/rc.local
 file=/etc/unbound
 file=/etc/dsa
 file=/etc/rabbitmq
-<% if scope.function_has_role(['static_mirror']) or scope.function_has_role(['static_source']) or classes.include?("staticsync::static_master")  -%>
-file=/etc/ssh/userkeys
-file=/etc/ssh/userkeys/staticsync
-<% end -%>
 <% if scope.function_has_role(['ssh.upload.d.o']) -%>
 file=/etc/ssh/userkeys/buildd-uploader
 <% end -%>