diff options
author | Julien Dessaux | 2017-08-25 22:58:10 +0200 |
---|---|---|
committer | Julien Dessaux | 2017-08-25 22:58:10 +0200 |
commit | 46cd3abd238a4d9211d9a31677cf518724b504b2 (patch) | |
tree | b2744788cbc74bccc7262fda852dace5c0d75cf0 /services/applications/fcgiwrap.cf | |
parent | Fixed sshd policy mistake (diff) | |
download | masterfiles-46cd3abd238a4d9211d9a31677cf518724b504b2.tar.gz masterfiles-46cd3abd238a4d9211d9a31677cf518724b504b2.tar.bz2 masterfiles-46cd3abd238a4d9211d9a31677cf518724b504b2.zip |
Added nagios server policy
Diffstat (limited to '')
-rw-r--r-- | services/applications/fcgiwrap.cf | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/services/applications/fcgiwrap.cf b/services/applications/fcgiwrap.cf index af2e8f8..7c491c0 100644 --- a/services/applications/fcgiwrap.cf +++ b/services/applications/fcgiwrap.cf @@ -1,8 +1,11 @@ -bundle common fcgiwrap +bundle agent fcgiwrap(user, group, mode) { - vars: - use_fcgiwrap:: - "packages" slist => { - "fcgiwrap", - }; + methods: + freebsd:: + "any" usebundle => install_package("fcgiwrap"); + "any" usebundle => add_rc_conf_line("fcgiwrap_enable=\"YES\""); + "any" usebundle => add_rc_conf_line("fcgiwrap_user=\"$(user)\""); + "any" usebundle => add_rc_conf_line("fcgiwrap_mode=\"$(mode)\""); + "any" usebundle => add_rc_conf_line("fcgiwrap_owner=\"$(user)\""); + "any" usebundle => add_rc_conf_line("fcgiwrap_group=\"$(group)\""); } |