Set bacula Heartbeat Interval = 300 for all hosts at brown, not just frank
authorPeter Palfrader <peter@palfrader.org>
Tue, 20 Sep 2016 06:15:16 +0000 (08:15 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 20 Sep 2016 06:15:16 +0000 (08:15 +0200)
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 -%>