Update cookbooks and add wordpress cookbook

This commit is contained in:
Greg Karékinian
2016-02-19 18:09:49 +01:00
parent 9ba973e3ac
commit 820b0ab3f8
606 changed files with 22421 additions and 14084 deletions

View File

@@ -12,6 +12,8 @@ BLUEPILL_BIN=<%= node['bluepill']['bin'] %>
BLUEPILL_CONFIG=<%= @config_file %>
SERVICE_NAME=<%= @service_name %>
[ -r <%= node['bluepill']['defaults_dir'] %>/$SERVICE_NAME ] && . <%= node['bluepill']['defaults_dir'] %>/$SERVICE_NAME
case "$1" in
start)
echo "Loading bluepill configuration for $SERVICE_NAME "

View File

@@ -24,6 +24,7 @@ status_cmd="${command} ${name} status"
stop_cmd="${command} ${name} stop"
stop_postcmd="${command} ${name} quit"
[ -r <%= node['bluepill']['defaults_dir'] %>/$name ] && . <%= node['bluepill']['defaults_dir'] %>/$name
load_rc_config ${name}
PATH="${PATH}:/usr/local/bin"

View File

@@ -2,7 +2,8 @@
#
### BEGIN INIT INFO
# Provides: <%= @service_name %>
# Required-Start: bar
# Required-Start:
# Required-Stop:
# Defalt-Start: 2 3 4 5
# Default-Stop: 0 1 2 6
# Description: Bluepill loader for <%= @service_name %>
@@ -12,6 +13,8 @@ BLUEPILL_BIN=<%= node['bluepill']['bin'] %>
BLUEPILL_CONFIG=<%= @config_file %>
SERVICE_NAME=<%= @service_name %>
[ -r <%= node['bluepill']['defaults_dir'] %>/$SERVICE_NAME ] && . <%= node['bluepill']['defaults_dir'] %>/$SERVICE_NAME
case "$1" in
start)
echo "Loading bluepill configuration for $SERVICE_NAME "

View File

@@ -12,6 +12,8 @@ BLUEPILL_BIN=<%= node['bluepill']['bin'] %>
BLUEPILL_CONFIG=<%= @config_file %>
SERVICE_NAME=<%= @service_name %>
[ -r <%= node['bluepill']['defaults_dir'] %>/$SERVICE_NAME ] && . <%= node['bluepill']['defaults_dir'] %>/$SERVICE_NAME
case "$1" in
start)
echo "Loading bluepill configuration for $SERVICE_NAME "