make wuiet be buildd_master via a hiera class include
[mirror/dsa-puppet.git] / modules / samhain / templates / samhainrc.erb
index 987a3a2..fc134cf 100644 (file)
@@ -192,7 +192,7 @@ file=/etc/ssh/userkeys/staticsync
 <% if scope.function_has_role(['ssh.upload.d.o']) -%>
 file=/etc/ssh/userkeys/buildd-uploader
 <% end -%>
-<% if scope.function_has_role(['buildd_master']) -%>
+<% if classes.include?('roles::buildd_master') -%>
 file=/etc/ssh/userkeys/wb-buildd.more
 <% end -%>
 file=/etc/rsyncd