X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fbacula%2Ftemplates%2Fdefault.bacula-fd.erb;h=96b2455c9a9c59f8530a8b0bd23208b321cec527;hb=a2aea510648d1d58789365a2d0b7bae76fcca37b;hp=b998713f719a3eff6c17cabf0f499bd8b3556da0;hpb=796cbf0c10679a34c4cd7757d224432169bc2472;p=dsa-puppet.git diff --git a/modules/bacula/templates/default.bacula-fd.erb b/modules/bacula/templates/default.bacula-fd.erb index b998713f..96b2455c 100644 --- a/modules/bacula/templates/default.bacula-fd.erb +++ b/modules/bacula/templates/default.bacula-fd.erb @@ -1,3 +1,7 @@ +## +### THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE. +## + # defaults file for bacula-fd # Service can be disabled by setting @@ -6,7 +10,11 @@ ENABLED="yes" # Additional start arguments can be provided here # ARGS="" +<% if scope.lookupvar('site::nodeinfo')['ldap'].has_key?('architecture') and scope.lookupvar('site::nodeinfo')['ldap']['architecture'][0].start_with?('kfreebsd') -%> +ARGS="" +<% else -%> ARGS="-u bacula -k" +<% end -%> # Default config file can be changed here # CONFIG="/etc/bacula/bacula-fd.conf"