Set bacula Heartbeat Interval = 300 for all hosts at brown, not just frank
[mirror/dsa-puppet.git] / modules / bacula / templates / bacula-fd.conf.erb
index f17b5dd..3597a0c 100644 (file)
@@ -36,7 +36,7 @@ FileDaemon {
   TLS Certificate = "<%= bacula_ssl_client_cert %>"
   TLS Key = "<%= bacula_ssl_client_key %>"
 
-<%- if hostname == "franck" -%>
+<%- if scope.lookupvar('site::nodeinfo')['hoster']['name'] == "brown" -%>
   # broken firewall
   Heartbeat Interval = 300
 <%- end -%>