bacula on freebsd does not do capabilities
[mirror/dsa-puppet.git] / modules / bacula / templates / default.bacula-fd.erb
index 1135708..96b2455 100644 (file)
@@ -10,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"