]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
This comes from LDAP
authorStephen Gran <steve@lobefin.net>
Thu, 2 Jan 2014 22:26:39 +0000 (22:26 +0000)
committerStephen Gran <steve@lobefin.net>
Thu, 2 Jan 2014 22:26:39 +0000 (22:26 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
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