summaryrefslogtreecommitdiff
path: root/services/check_mk.cf
diff options
context:
space:
mode:
authorJulien Dessaux2017-08-25 17:21:05 +0200
committerJulien Dessaux2017-08-25 17:46:13 +0200
commit5239846956644f27d1619ce43b742034925d3ebc (patch)
tree59cc92daa324f03509b26de75587892b59b2f35c /services/check_mk.cf
parentAdded bareos-fd policy (diff)
downloadmasterfiles-5239846956644f27d1619ce43b742034925d3ebc.tar.gz
masterfiles-5239846956644f27d1619ce43b742034925d3ebc.tar.bz2
masterfiles-5239846956644f27d1619ce43b742034925d3ebc.zip
Changed policies organisation to use methods
Diffstat (limited to '')
-rw-r--r--services/applications/check_mk.cf (renamed from services/check_mk.cf)3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/check_mk.cf b/services/applications/check_mk.cf
index fef8549..0731eaa 100644
--- a/services/check_mk.cf
+++ b/services/applications/check_mk.cf
@@ -25,6 +25,9 @@ bundle agent check_mk
classes:
freebsd::
"inetd_service_running" expression => returnszero("/usr/sbin/service inetd status", "noshell");
+ methods:
+ freebsd::
+ "any" usebundle => add_rc_conf_line("$(check_mk.rc_conf_lines)");
commands:
freebsd.!inetd_service_running::
"/usr/sbin/service inetd start" classes => if_repaired("inet_service_repaired");