diff options
author | Julien Dessaux | 2017-08-25 17:21:05 +0200 |
---|---|---|
committer | Julien Dessaux | 2017-08-25 17:46:13 +0200 |
commit | 5239846956644f27d1619ce43b742034925d3ebc (patch) | |
tree | 59cc92daa324f03509b26de75587892b59b2f35c /services/applications/bareos_fd.cf | |
parent | Added bareos-fd policy (diff) | |
download | masterfiles-5239846956644f27d1619ce43b742034925d3ebc.tar.gz masterfiles-5239846956644f27d1619ce43b742034925d3ebc.tar.bz2 masterfiles-5239846956644f27d1619ce43b742034925d3ebc.zip |
Changed policies organisation to use methods
Diffstat (limited to '')
-rw-r--r-- | services/applications/bareos_fd.cf (renamed from services/bareos_fd.cf) | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/services/bareos_fd.cf b/services/applications/bareos_fd.cf index 457655d..3b16a91 100644 --- a/services/bareos_fd.cf +++ b/services/applications/bareos_fd.cf @@ -14,6 +14,10 @@ bundle agent bareos_fd classes: freebsd:: "bareos_fd_service_running" expression => returnszero("/usr/sbin/service bareos-fd status", "noshell"); + methods: + freebsd:: + "any" usebundle => install_package("$(bareos_fd.packages)"); + "any" usebundle => add_rc_conf_line("$(bareos_fd.rc_conf_lines)"); files: freebsd:: "/usr/local/etc/bareos/bareos-fd.d/client/myself.conf" |