]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/samhain/templates/samhainrc.erb
This comes from LDAP
[dsa-puppet.git] / modules / samhain / templates / samhainrc.erb
index b0e896562b2e15cfd554f63d5f628fe34b328e66..99e5f5a20324bcd62266ce2aef25994dbc63827a 100644 (file)
@@ -232,7 +232,7 @@ file=/var/log/syslog
 ## This file might be created or removed by the system sometimes.
 ##
 file=/etc/resolv.conf
-<% if scope.function_has_role(['buildd']) -%>
+<% if scope.lookupvar('site::nodeinfo')['buildd'] -%>
 file=/etc/dupload.conf
 <% end -%>
 file=/etc/resolv.conf.pcmcia.save