diff options
author | Julien Dessaux | 2017-08-27 23:31:08 +0200 |
---|---|---|
committer | Julien Dessaux | 2017-08-27 23:44:05 +0200 |
commit | 5f4f78d55d832d31639119804e7ff9f69ecdda41 (patch) | |
tree | 8fccfce99393da540053a5cb35f0ba30e30ec9d5 /services/applications/fcgiwrap.cf | |
parent | Added nagios server policy (diff) | |
download | masterfiles-5f4f78d55d832d31639119804e7ff9f69ecdda41.tar.gz masterfiles-5f4f78d55d832d31639119804e7ff9f69ecdda41.tar.bz2 masterfiles-5f4f78d55d832d31639119804e7ff9f69ecdda41.zip |
Updated usebundle system to include caller information un report
Diffstat (limited to 'services/applications/fcgiwrap.cf')
-rw-r--r-- | services/applications/fcgiwrap.cf | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/services/applications/fcgiwrap.cf b/services/applications/fcgiwrap.cf index 7c491c0..7c9c809 100644 --- a/services/applications/fcgiwrap.cf +++ b/services/applications/fcgiwrap.cf @@ -1,11 +1,16 @@ bundle agent fcgiwrap(user, group, mode) { + vars: + freebsd:: + "rc_conf_lines" slist => { + "fcgiwrap_enable=\"YES\"", + "fcgiwrap_user=\"$(user)\"", + "fcgiwrap_socket_mode=\"$(mode)\"", + "fcgiwrap_socket_owner=\"$(user)\"", + "fcgiwrap_socket_group=\"$(group)\"", + }; 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)\""); + "freebsd" usebundle => install_package("$(this.bundle)", "fcgiwrap"); + "freebsd" usebundle => add_rc_conf_line("$(this.bundle)", "$(fcgiwrap.rc_conf_lines)"); } |