rubber 2.6.5 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/CHANGELOG +37 -0
- data/lib/rubber/cloud/vsphere.rb +4 -0
- data/lib/rubber/generator.rb +37 -19
- data/lib/rubber/recipes/rubber/security_groups.rb +1 -1
- data/lib/rubber/recipes/rubber/volumes.rb +1 -1
- data/lib/rubber/version.rb +1 -1
- data/templates/delayed_job/config/rubber/deploy-delayed_job.rb +44 -0
- data/templates/delayed_job/config/rubber/role/delayed_job/monit-delayed_job.conf +18 -0
- data/templates/delayed_job/config/rubber/rubber-delayed_job.yml +1 -0
- data/templates/delayed_job/templates.yml +1 -0
- data/templates/discourse/config/rubber/deploy-discourse.rb +16 -0
- data/templates/discourse/config/rubber/role/nginx/nginx.conf +43 -0
- data/templates/discourse/config/rubber/role/nginx/unicorn_nginx.conf +102 -0
- data/templates/discourse/config/rubber/role/unicorn/unicorn.rb +99 -0
- data/templates/discourse/config/rubber/rubber-discourse.yml +3 -0
- data/templates/discourse/templates.yml +5 -0
- data/templates/elasticsearch/config/rubber/deploy-elasticsearch.rb +7 -7
- data/templates/elasticsearch/config/rubber/role/elasticsearch/elasticsearch-default.conf +47 -0
- data/templates/elasticsearch/config/rubber/role/elasticsearch/elasticsearch.yml +49 -30
- data/templates/elasticsearch/config/rubber/role/elasticsearch/logging.yml +14 -3
- data/templates/elasticsearch/config/rubber/role/elasticsearch/monit-elasticsearch.conf +8 -0
- data/templates/elasticsearch/config/rubber/rubber-elasticsearch.yml +1 -4
- data/templates/ffmpeg/config/rubber/deploy-ffmpeg.rb +13 -0
- data/templates/ffmpeg/config/rubber/rubber-ffmpeg.yml +5 -0
- data/templates/ffmpeg/templates.yml +1 -0
- data/templates/graylog/config/rubber/deploy-graylog.rb +17 -20
- data/templates/graylog/config/rubber/role/graylog_server/graylog2.conf +157 -43
- data/templates/graylog/config/rubber/role/graylog_server/monit-graylog_server.conf +8 -0
- data/templates/graylog/config/rubber/role/graylog_web/graylog2-web-interface.conf +19 -0
- data/templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf +1 -1
- data/templates/graylog/config/rubber/role/graylog_web/monit-graylog_web.conf +8 -0
- data/templates/graylog/config/rubber/rubber-graylog.yml +5 -12
- data/templates/graylog/templates.rb +13 -5
- data/templates/memcached/config/rubber/deploy-memcached.rb +16 -0
- data/templates/memcached/config/rubber/role/memcached/dalli.rb +20 -0
- data/templates/memcached/config/rubber/role/memcached/memcached.conf +17 -8
- data/templates/memcached/config/rubber/rubber-memcached.yml +25 -1
- data/templates/monit/config/rubber/role/memcached/monit-memcached.conf +9 -0
- data/templates/monit/config/rubber/role/mongodb/monit-mongodb.conf +1 -0
- data/templates/mysql/config/rubber/deploy-mysql.rb +1 -2
- data/templates/newrelic/config/rubber/deploy-newrelic.rb +49 -0
- data/templates/newrelic/config/rubber/role/newrelic/monit-newrelic.conf +9 -0
- data/templates/newrelic/config/rubber/rubber-newrelic.yml +5 -0
- data/templates/newrelic/templates.yml +1 -0
- data/templates/passenger_nginx/config/rubber/deploy-passenger_nginx.rb +7 -4
- data/templates/passenger_nginx/config/rubber/rubber-passenger_nginx.yml +1 -0
- data/templates/redis/config/rubber/role/redis/redis.conf +120 -16
- data/templates/redis/config/rubber/rubber-redis.yml +1 -1
- data/templates/solr/config/rubber/deploy-solr.rb +8 -8
- data/templates/solr/config/rubber/rubber-solr.yml +6 -6
- data/templates/solr/templates.yml +1 -3
- data/templates/solr_sunspot/config/rubber/common/solr_sunspot.yml +10 -0
- data/templates/solr_sunspot/config/rubber/deploy-solr_sunspot.rb +30 -0
- data/templates/solr_sunspot/config/rubber/rubber-solr_sunspot.yml +5 -0
- data/templates/solr_sunspot/templates.yml +1 -0
- data/templates/unicorn/config/rubber/deploy-unicorn.rb +16 -11
- data/templates/unicorn/config/rubber/role/unicorn/unicorn +91 -0
- data/test/generator_test.rb +54 -0
- data/test/test_helper.rb +2 -0
- metadata +31 -11
- data/templates/elasticsearch/config/rubber/role/elasticsearch/elasticsearch-upstart.conf +0 -23
- data/templates/graylog/config/initializers/graylog.rb +0 -53
- data/templates/graylog/config/rubber/role/graylog_web/crontab +0 -9
- data/templates/graylog/config/rubber/role/graylog_web/email.yml +0 -16
- data/templates/graylog/config/rubber/role/graylog_web/general.yml +0 -27
- data/templates/graylog/config/rubber/role/graylog_web/mongoid.yml +0 -28
- data/templates/memcached/config/memcached.yml +0 -28
- data/templates/memcached/config/rubber/common/memcached.yml +0 -14
- data/templates/unicorn/config/rubber/role/unicorn/unicorn-upstart.conf +0 -13
|
@@ -22,9 +22,9 @@ namespace :rubber do
|
|
|
22
22
|
echo 'installing oracle java'
|
|
23
23
|
tar -zxf /tmp/#{rubber_env.jdk} -C /tmp
|
|
24
24
|
sudo mkdir -p /usr/lib/jvm/jdk1.7
|
|
25
|
-
mv -f /tmp
|
|
25
|
+
mv -f /tmp/#{rubber_env.jdk}/* /usr/lib/jvm/jdk1.7/
|
|
26
26
|
|
|
27
|
-
echo 'updating java
|
|
27
|
+
echo 'updating java alternative'
|
|
28
28
|
update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7/bin/java" 1
|
|
29
29
|
update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.7/bin/javac" 1
|
|
30
30
|
update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.7/bin/javaws" 1
|
|
@@ -37,14 +37,14 @@ namespace :rubber do
|
|
|
37
37
|
echo 'installing solr'
|
|
38
38
|
curl -o /tmp/apache-solr-4.0.0.tgz http://ftp.heanet.ie/mirrors/www.apache.org/dist/lucene/solr/4.0.0/apache-solr-4.0.0.tgz
|
|
39
39
|
tar -zxf /tmp/apache-solr-4.0.0.tgz -C /tmp
|
|
40
|
-
cp /tmp/apache-solr-4.0.0/dist/apache-solr-4.0.0.war /
|
|
40
|
+
cp /tmp/apache-solr-4.0.0/dist/apache-solr-4.0.0.war #{rubber_env.tomcat_dest_folder}/apache-tomcat-7.0.34/webapps/solr.war
|
|
41
41
|
rm -fr /tmp/apache-solr-4.0.0*
|
|
42
42
|
|
|
43
43
|
echo 'setting up solr'
|
|
44
|
-
mkdir -p #{rubber_env.
|
|
45
|
-
mkdir -p #{rubber_env.
|
|
44
|
+
mkdir -p #{rubber_env.solr_home_dest_folder}/solr/data
|
|
45
|
+
mkdir -p #{rubber_env.solr_home_dest_folder}/solr/#{rubber_env.core_name}
|
|
46
46
|
tar -zxf /tmp/solr_conf.tar.gz -C /mnt/solr/#{rubber_env.core_name}
|
|
47
|
-
mv /tmp/#{rubber_env.solr_xml} #{rubber_env.
|
|
47
|
+
mv /tmp/#{rubber_env.solr_xml} #{rubber_env.solr_home_dest_folder}/solr
|
|
48
48
|
rm /tmp/solr_conf.tar.gz
|
|
49
49
|
fi
|
|
50
50
|
ENDSCRIPT
|
|
@@ -52,7 +52,7 @@ namespace :rubber do
|
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
def set_java_opts
|
|
55
|
-
"export JAVA_OPTS='-server -Xmx#{rubber_env.Xmx} -Dsolr.data.dir=#{rubber_env.
|
|
55
|
+
"export JAVA_OPTS='-server -Xmx#{rubber_env.Xmx} -Dsolr.data.dir=#{rubber_env.solr_home_dest_folder}/solr/data -Dsolr.solr.home=#{rubber_env.solr_home_dest_folder}/solr'"
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
desc "start solr"
|
|
@@ -68,7 +68,7 @@ namespace :rubber do
|
|
|
68
68
|
desc "stop solr"
|
|
69
69
|
task :stop_solr, :roles => :solr do
|
|
70
70
|
rubber.sudo_script 'stop_solr', <<-ENDSCRIPT
|
|
71
|
-
echo '
|
|
71
|
+
echo 'stopping tomcat'
|
|
72
72
|
#{set_java_opts}
|
|
73
73
|
#{rubber_env.tomcat_dest_folder}/apache-tomcat-7.0.34/bin/shutdown.sh
|
|
74
74
|
ENDSCRIPT
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
jdk: JDK_TAR_GZ_FILE_NAME
|
|
1
|
+
jdk: JDK_TAR_GZ_FILE_NAME (e.g. jdk1.7.0_17)
|
|
2
2
|
jdk_path: JDK_TAR_GZ_FILE_NAME_INC_FILE_NAME
|
|
3
|
-
solr_xml: SOLR_XML_FILE_NAME
|
|
4
|
-
solr_xml_path: SOLR_XML_FILE_PATH_AND_NAME
|
|
5
|
-
core_name: SOLR_CORE_NAME
|
|
6
|
-
tarz_config_files:
|
|
3
|
+
solr_xml: SOLR_XML_FILE_NAME (e.g. solrconfig.xml)
|
|
4
|
+
solr_xml_path: SOLR_XML_FILE_PATH_AND_NAME (e.g. #{Rubber.root}/solr/conf/solrconfig.xml)
|
|
5
|
+
core_name: SOLR_CORE_NAME (e.g. default-solr)
|
|
6
|
+
tarz_config_files: PATH_TO_SOLR_CONFIG_TAR_GZ_FILE
|
|
7
7
|
tomcat_dest_folder: TOMCAT7_DEST_FOLER
|
|
8
|
-
|
|
8
|
+
solr_home_dest_folder: SOLR_BASE_FOLDER
|
|
9
9
|
Xmx: HEAP_SPACE_FOR_JVM (e.g. 1024m or 2gb etc)
|
|
10
10
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<%
|
|
2
|
+
@path = "#{Rubber.root}/config/sunspot.yml"
|
|
3
|
+
@additive = ["#prod_start", "#prod_end"]
|
|
4
|
+
%> <% rubber_instances.for_role('solr_sunspot').each do |ic| %>
|
|
5
|
+
production:
|
|
6
|
+
solr:
|
|
7
|
+
hostname: <%= ic.external_host %>
|
|
8
|
+
port: 8983
|
|
9
|
+
log_level: WARNING
|
|
10
|
+
<% end %>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# installs, starts, stops and reindexes solr using the sunspot gem
|
|
2
|
+
|
|
3
|
+
namespace :rubber do
|
|
4
|
+
|
|
5
|
+
namespace :solr_sunspot do
|
|
6
|
+
|
|
7
|
+
desc "start solr"
|
|
8
|
+
task :start, :roles => :solr_sunspot, :except => { :no_release => true } do
|
|
9
|
+
run "cd #{current_path} && RAILS_ENV=#{rails_env} bundle exec sunspot-solr start --port=8983 --data-directory=#{shared_path}/solr/data --pid-dir=#{shared_path}/pids"
|
|
10
|
+
end
|
|
11
|
+
desc "stop solr"
|
|
12
|
+
task :stop, :roles => :solr_sunspot, :except => { :no_release => true } do
|
|
13
|
+
run "cd #{current_path} && RAILS_ENV=#{rails_env} bundle exec sunspot-solr stop --port=8983 --data-directory=#{shared_path}/solr/data --pid-dir=#{shared_path}/pids"
|
|
14
|
+
end
|
|
15
|
+
desc "reindex the whole database"
|
|
16
|
+
task :reindex, :roles => :solr_sunspot do
|
|
17
|
+
stop
|
|
18
|
+
run "rm -rf #{shared_path}/solr/data"
|
|
19
|
+
start
|
|
20
|
+
run "cd #{current_path} && RAILS_ENV=#{rails_env} bundle exec rake sunspot:solr:reindex"
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
task :setup_solr_data_dir, :roles => :solr_sunspot do
|
|
24
|
+
run "mkdir -p #{shared_path}/solr/data"
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
after 'deploy:setup', 'rubber:solr_sunspot:setup_solr_data_dir'
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
description: The apache solr module using the sunspot rails gem and its pre-packaged solr distribution
|
|
@@ -2,34 +2,39 @@
|
|
|
2
2
|
namespace :rubber do
|
|
3
3
|
|
|
4
4
|
namespace :unicorn do
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
rubber.allow_optional_tasks(self)
|
|
7
|
-
|
|
7
|
+
|
|
8
8
|
before "deploy:stop", "rubber:unicorn:stop"
|
|
9
9
|
after "deploy:start", "rubber:unicorn:start"
|
|
10
10
|
after "deploy:restart", "rubber:unicorn:reload"
|
|
11
|
-
|
|
11
|
+
|
|
12
12
|
desc "Stops the unicorn server"
|
|
13
13
|
task :stop, :roles => :unicorn do
|
|
14
|
-
rsudo "
|
|
14
|
+
rsudo "service unicorn stop"
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
desc "Forcefully kills the unicorn server"
|
|
18
|
+
task :force_stop, :roles => :unicorn do
|
|
19
|
+
rsudo "service unicorn force-stop"
|
|
15
20
|
end
|
|
16
|
-
|
|
21
|
+
|
|
17
22
|
desc "Starts the unicorn server"
|
|
18
23
|
task :start, :roles => :unicorn do
|
|
19
|
-
rsudo "
|
|
24
|
+
rsudo "service unicorn start"
|
|
20
25
|
end
|
|
21
|
-
|
|
26
|
+
|
|
22
27
|
desc "Restarts the unicorn server"
|
|
23
28
|
task :restart, :roles => :unicorn do
|
|
24
|
-
|
|
25
|
-
start
|
|
29
|
+
rsudo "service unicorn restart"
|
|
26
30
|
end
|
|
27
|
-
|
|
31
|
+
|
|
28
32
|
desc "Reloads the unicorn web server"
|
|
29
33
|
task :reload, :roles => :unicorn do
|
|
30
|
-
rsudo "
|
|
34
|
+
rsudo "service unicorn upgrade"
|
|
31
35
|
end
|
|
32
36
|
|
|
37
|
+
|
|
33
38
|
desc "Display status of the unicorn web server"
|
|
34
39
|
task :status, :roles => :unicorn do
|
|
35
40
|
# "service unicorn status" always returns "unicorn stop/waiting"
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
<%
|
|
2
|
+
@path = "/etc/init.d/unicorn"
|
|
3
|
+
@perms = 0755
|
|
4
|
+
current_path = "/mnt/#{rubber_env.app_name}-#{Rubber.env}/current"
|
|
5
|
+
%>
|
|
6
|
+
|
|
7
|
+
#!/bin/sh
|
|
8
|
+
set -e
|
|
9
|
+
# Example init script, this can be used with nginx, too,
|
|
10
|
+
# since nginx and unicorn accept the same signals
|
|
11
|
+
|
|
12
|
+
# Feel free to change any of the following variables for your app:
|
|
13
|
+
TIMEOUT=${TIMEOUT-60}
|
|
14
|
+
APP_ROOT=<%= current_path %>
|
|
15
|
+
PID=/var/run/unicorn.pid
|
|
16
|
+
CMD="<%= "bundle exec unicorn_rails -c #{current_path}/config/unicorn.rb -E #{Rubber.env} -D" %>"
|
|
17
|
+
action="$1"
|
|
18
|
+
set -u
|
|
19
|
+
|
|
20
|
+
old_pid="$PID.oldbin"
|
|
21
|
+
|
|
22
|
+
cd $APP_ROOT || exit 1
|
|
23
|
+
|
|
24
|
+
sig () {
|
|
25
|
+
test -s "$PID" && kill -$1 `cat $PID`
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
oldsig () {
|
|
29
|
+
test -s $old_pid && kill -$1 `cat $old_pid`
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
case $action in
|
|
33
|
+
start)
|
|
34
|
+
sig 0 && echo >&2 "Already running" && exit 0
|
|
35
|
+
$CMD
|
|
36
|
+
;;
|
|
37
|
+
stop)
|
|
38
|
+
sig QUIT && exit 0
|
|
39
|
+
echo >&2 "Not running"
|
|
40
|
+
;;
|
|
41
|
+
force-stop)
|
|
42
|
+
sig TERM && exit 0
|
|
43
|
+
echo >&2 "Not running"
|
|
44
|
+
;;
|
|
45
|
+
restart|reload)
|
|
46
|
+
sig HUP && echo reloaded OK && exit 0
|
|
47
|
+
echo >&2 "Couldn't reload, starting '$CMD' instead"
|
|
48
|
+
$CMD
|
|
49
|
+
;;
|
|
50
|
+
upgrade)
|
|
51
|
+
if sig USR2
|
|
52
|
+
then
|
|
53
|
+
printf 'Waiting for new workers'
|
|
54
|
+
n=$TIMEOUT
|
|
55
|
+
while (! (test -s $PID && ps --no-headers --ppid `cat $PID` > /dev/null)) && test $n -ge 0
|
|
56
|
+
do
|
|
57
|
+
printf '.' && sleep 1 && n=$(( $n - 1 ))
|
|
58
|
+
done
|
|
59
|
+
if test ! -s $old_pid
|
|
60
|
+
then
|
|
61
|
+
echo
|
|
62
|
+
echo >&2 'New workers failed to start; see error log'
|
|
63
|
+
exit 1
|
|
64
|
+
fi
|
|
65
|
+
printf '\nStopping old master' && oldsig QUIT
|
|
66
|
+
|
|
67
|
+
n=$TIMEOUT
|
|
68
|
+
while test -s $old_pid && test $n -ge 0
|
|
69
|
+
do
|
|
70
|
+
printf '.' && sleep 1 && n=$(( $n - 1 ))
|
|
71
|
+
done
|
|
72
|
+
echo
|
|
73
|
+
|
|
74
|
+
if test $n -lt 0 && test -s $old_pid
|
|
75
|
+
then
|
|
76
|
+
echo >&2 "$old_pid still exists after $TIMEOUT seconds"
|
|
77
|
+
exit 1
|
|
78
|
+
fi
|
|
79
|
+
exit 0
|
|
80
|
+
fi
|
|
81
|
+
echo >&2 "Couldn't upgrade, starting '$CMD' instead"
|
|
82
|
+
$CMD
|
|
83
|
+
;;
|
|
84
|
+
reopen-logs)
|
|
85
|
+
sig USR1
|
|
86
|
+
;;
|
|
87
|
+
*)
|
|
88
|
+
echo >&2 "Usage: $0 <start|stop|restart|upgrade|force-stop|reopen-logs>"
|
|
89
|
+
exit 1
|
|
90
|
+
;;
|
|
91
|
+
esac
|
data/test/generator_test.rb
CHANGED
|
@@ -105,6 +105,60 @@ class GeneratorTest < Test::Unit::TestCase
|
|
|
105
105
|
assert_equal "hello\nthere", File.read(out_file.path).strip, "transformed contents are incorrect"
|
|
106
106
|
end
|
|
107
107
|
|
|
108
|
+
def test_delayed_post_command
|
|
109
|
+
out_dir = "#{Dir::tmpdir}/test_rubber_delayed_post"
|
|
110
|
+
FileUtils.rm_rf(out_dir)
|
|
111
|
+
assert ! File.exists?(out_dir)
|
|
112
|
+
|
|
113
|
+
g = Generator.new("#{File.dirname(__FILE__)}/fixtures/basic", nil, nil, :out_dir => out_dir)
|
|
114
|
+
|
|
115
|
+
post_file = "#{out_dir}/post"
|
|
116
|
+
|
|
117
|
+
src1 = <<-SRC
|
|
118
|
+
<%
|
|
119
|
+
@path = "#{out_dir}/src1"
|
|
120
|
+
@delayed_post = 'echo `date` >> #{post_file}'
|
|
121
|
+
%>
|
|
122
|
+
contents1
|
|
123
|
+
SRC
|
|
124
|
+
|
|
125
|
+
src2 = <<-SRC
|
|
126
|
+
<%
|
|
127
|
+
@path = "#{out_dir}/src2"
|
|
128
|
+
@delayed_post = 'echo `date` >> #{post_file}'
|
|
129
|
+
%>
|
|
130
|
+
contents2
|
|
131
|
+
SRC
|
|
132
|
+
|
|
133
|
+
src3 = <<-SRC
|
|
134
|
+
<%
|
|
135
|
+
@path = "#{out_dir}/src3"
|
|
136
|
+
@delayed_post = 'echo 3 `date` >> #{post_file}'
|
|
137
|
+
%>
|
|
138
|
+
contents3
|
|
139
|
+
SRC
|
|
140
|
+
|
|
141
|
+
g.transform(src1)
|
|
142
|
+
g.transform(src2)
|
|
143
|
+
g.transform(src3)
|
|
144
|
+
|
|
145
|
+
assert File.exists?("#{out_dir}/src1"), "transform did not generate an output file"
|
|
146
|
+
assert ! File.exists?(post_file), "transform executed delayed post early"
|
|
147
|
+
assert_equal "contents1", File.read("#{out_dir}/src1").strip, "transformed contents are incorrect"
|
|
148
|
+
|
|
149
|
+
assert File.exists?("#{out_dir}/src2"), "transform did not generate an output file"
|
|
150
|
+
assert ! File.exists?(post_file), "transform executed delayed post early"
|
|
151
|
+
assert_equal "contents2", File.read("#{out_dir}/src2").strip, "transformed contents are incorrect"
|
|
152
|
+
|
|
153
|
+
assert File.exists?("#{out_dir}/src3"), "transform did not generate an output file"
|
|
154
|
+
assert ! File.exists?(post_file), "transform executed delayed post early"
|
|
155
|
+
assert_equal "contents3", File.read("#{out_dir}/src3").strip, "transformed contents are incorrect"
|
|
156
|
+
|
|
157
|
+
g.run()
|
|
158
|
+
assert File.exists?(post_file), "delayed post was not executed"
|
|
159
|
+
assert_equal 2, File.read(post_file).lines.to_a.size, "delayed post was not de-duped"
|
|
160
|
+
end
|
|
161
|
+
|
|
108
162
|
def test_stop_on_error
|
|
109
163
|
out_file = Tempfile.new('teststoponerr')
|
|
110
164
|
post_file = out_file.path + '.post'
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubber
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Conway
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-
|
|
12
|
+
date: 2014-02-03 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: capistrano
|
|
@@ -356,12 +356,26 @@ files:
|
|
|
356
356
|
- templates/cruise/config/rubber/role/web_tools/cruise-nginx.conf
|
|
357
357
|
- templates/cruise/config/rubber/rubber-cruise.yml
|
|
358
358
|
- templates/cruise/templates.yml
|
|
359
|
+
- templates/delayed_job/config/rubber/deploy-delayed_job.rb
|
|
360
|
+
- templates/delayed_job/config/rubber/role/delayed_job/monit-delayed_job.conf
|
|
361
|
+
- templates/delayed_job/config/rubber/rubber-delayed_job.yml
|
|
362
|
+
- templates/delayed_job/templates.yml
|
|
363
|
+
- templates/discourse/config/rubber/deploy-discourse.rb
|
|
364
|
+
- templates/discourse/config/rubber/role/nginx/nginx.conf
|
|
365
|
+
- templates/discourse/config/rubber/role/nginx/unicorn_nginx.conf
|
|
366
|
+
- templates/discourse/config/rubber/role/unicorn/unicorn.rb
|
|
367
|
+
- templates/discourse/config/rubber/rubber-discourse.yml
|
|
368
|
+
- templates/discourse/templates.yml
|
|
359
369
|
- templates/elasticsearch/config/rubber/deploy-elasticsearch.rb
|
|
360
|
-
- templates/elasticsearch/config/rubber/role/elasticsearch/elasticsearch-
|
|
370
|
+
- templates/elasticsearch/config/rubber/role/elasticsearch/elasticsearch-default.conf
|
|
361
371
|
- templates/elasticsearch/config/rubber/role/elasticsearch/elasticsearch.yml
|
|
362
372
|
- templates/elasticsearch/config/rubber/role/elasticsearch/logging.yml
|
|
373
|
+
- templates/elasticsearch/config/rubber/role/elasticsearch/monit-elasticsearch.conf
|
|
363
374
|
- templates/elasticsearch/config/rubber/rubber-elasticsearch.yml
|
|
364
375
|
- templates/elasticsearch/templates.yml
|
|
376
|
+
- templates/ffmpeg/config/rubber/deploy-ffmpeg.rb
|
|
377
|
+
- templates/ffmpeg/config/rubber/rubber-ffmpeg.yml
|
|
378
|
+
- templates/ffmpeg/templates.yml
|
|
365
379
|
- templates/graphite/config/rubber/deploy-graphite.rb
|
|
366
380
|
- templates/graphite/config/rubber/role/collectd/graphite-collectd.conf
|
|
367
381
|
- templates/graphite/config/rubber/role/graphite_server/carbon.conf
|
|
@@ -378,16 +392,14 @@ files:
|
|
|
378
392
|
- templates/graphite/config/rubber/role/graphite_web/uwsgi.ini
|
|
379
393
|
- templates/graphite/config/rubber/rubber-graphite.yml
|
|
380
394
|
- templates/graphite/templates.yml
|
|
381
|
-
- templates/graylog/config/initializers/graylog.rb
|
|
382
395
|
- templates/graylog/config/rubber/common/graylog-rsyslog.conf
|
|
383
396
|
- templates/graylog/config/rubber/deploy-graylog.rb
|
|
384
397
|
- templates/graylog/config/rubber/role/graylog_server/graylog2.conf
|
|
385
398
|
- templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
|
|
386
|
-
- templates/graylog/config/rubber/role/
|
|
387
|
-
- templates/graylog/config/rubber/role/graylog_web/
|
|
388
|
-
- templates/graylog/config/rubber/role/graylog_web/general.yml
|
|
399
|
+
- templates/graylog/config/rubber/role/graylog_server/monit-graylog_server.conf
|
|
400
|
+
- templates/graylog/config/rubber/role/graylog_web/graylog2-web-interface.conf
|
|
389
401
|
- templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
|
|
390
|
-
- templates/graylog/config/rubber/role/graylog_web/
|
|
402
|
+
- templates/graylog/config/rubber/role/graylog_web/monit-graylog_web.conf
|
|
391
403
|
- templates/graylog/config/rubber/rubber-graylog.yml
|
|
392
404
|
- templates/graylog/templates.rb
|
|
393
405
|
- templates/graylog/templates.yml
|
|
@@ -415,10 +427,9 @@ files:
|
|
|
415
427
|
- templates/jetty/config/rubber/role/jetty/jetty.xml
|
|
416
428
|
- templates/jetty/config/rubber/rubber-jetty.yml
|
|
417
429
|
- templates/jetty/templates.yml
|
|
418
|
-
- templates/memcached/config/memcached.yml
|
|
419
|
-
- templates/memcached/config/rubber/common/memcached.yml
|
|
420
430
|
- templates/memcached/config/rubber/deploy-memcached.rb
|
|
421
431
|
- templates/memcached/config/rubber/role/memcached/crontab
|
|
432
|
+
- templates/memcached/config/rubber/role/memcached/dalli.rb
|
|
422
433
|
- templates/memcached/config/rubber/role/memcached/memcached.conf
|
|
423
434
|
- templates/memcached/config/rubber/rubber-memcached.yml
|
|
424
435
|
- templates/memcached/templates.yml
|
|
@@ -446,6 +457,7 @@ files:
|
|
|
446
457
|
- templates/monit/config/rubber/role/graylog_web/monit-graylog_web.conf
|
|
447
458
|
- templates/monit/config/rubber/role/haproxy/monit-haproxy.conf
|
|
448
459
|
- templates/monit/config/rubber/role/jetty/monit-jetty.conf
|
|
460
|
+
- templates/monit/config/rubber/role/memcached/monit-memcached.conf
|
|
449
461
|
- templates/monit/config/rubber/role/mongodb/monit-mongodb.conf
|
|
450
462
|
- templates/monit/config/rubber/role/mongrel/monit-mongrel.conf
|
|
451
463
|
- templates/monit/config/rubber/role/monit/monit-default.conf
|
|
@@ -508,6 +520,10 @@ files:
|
|
|
508
520
|
- templates/mysql_proxy/config/rubber/mysql_proxy/mysql-proxy.lua
|
|
509
521
|
- templates/mysql_proxy/config/rubber/rubber-mysql_proxy.yml
|
|
510
522
|
- templates/mysql_proxy/templates.yml
|
|
523
|
+
- templates/newrelic/config/rubber/deploy-newrelic.rb
|
|
524
|
+
- templates/newrelic/config/rubber/role/newrelic/monit-newrelic.conf
|
|
525
|
+
- templates/newrelic/config/rubber/rubber-newrelic.yml
|
|
526
|
+
- templates/newrelic/templates.yml
|
|
511
527
|
- templates/nginx/config/rubber/deploy-nginx.rb
|
|
512
528
|
- templates/nginx/config/rubber/role/nginx/crontab
|
|
513
529
|
- templates/nginx/config/rubber/role/nginx/nginx.conf
|
|
@@ -591,6 +607,10 @@ files:
|
|
|
591
607
|
- templates/solr/config/rubber/deploy-solr.rb
|
|
592
608
|
- templates/solr/config/rubber/rubber-solr.yml
|
|
593
609
|
- templates/solr/templates.yml
|
|
610
|
+
- templates/solr_sunspot/config/rubber/common/solr_sunspot.yml
|
|
611
|
+
- templates/solr_sunspot/config/rubber/deploy-solr_sunspot.rb
|
|
612
|
+
- templates/solr_sunspot/config/rubber/rubber-solr_sunspot.yml
|
|
613
|
+
- templates/solr_sunspot/templates.yml
|
|
594
614
|
- templates/sphinx/config/rubber/common/sphinx.yml
|
|
595
615
|
- templates/sphinx/config/rubber/deploy-sphinx.rb
|
|
596
616
|
- templates/sphinx/config/rubber/role/sphinx/crontab
|
|
@@ -611,7 +631,7 @@ files:
|
|
|
611
631
|
- templates/torquebox/templates.yml
|
|
612
632
|
- templates/unicorn/config/rubber/deploy-unicorn.rb
|
|
613
633
|
- templates/unicorn/config/rubber/role/nginx/unicorn_nginx.conf
|
|
614
|
-
- templates/unicorn/config/rubber/role/unicorn/unicorn
|
|
634
|
+
- templates/unicorn/config/rubber/role/unicorn/unicorn
|
|
615
635
|
- templates/unicorn/config/rubber/role/unicorn/unicorn.rb
|
|
616
636
|
- templates/unicorn/config/rubber/rubber-unicorn.yml
|
|
617
637
|
- templates/unicorn/templates.yml
|