capistrano-unformatt 1.11 → 1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/capistrano-unformatt.gemspec +1 -1
- data/lib/capistrano/tasks/monit.rake +5 -5
- data/vendor/templates/nginx.conf.erb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62db3552bb91176d87116f24390e209bc3af98d4
|
4
|
+
data.tar.gz: 94990c22a0be6d11cec874fdcf5969d3a7504bc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4327260c468915b5f44e6c04e60b4e481c8aab7e27ff70404522d4a7012e1697e9dbb2b002b58f04b50449a771c6d26e52d38998c40c1a107894866fe1487d99
|
7
|
+
data.tar.gz: 4f16b58a250f1b8c96858c517d89d1e28e84bbefb587e11fb7770033050fc58d04876f3bde1c76ad9826d96bb6176cf476a6bc5e385f90fa9c91c4aa5b49af30
|
data/CHANGELOG.md
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "capistrano-unformatt"
|
7
|
-
spec.version = '1.
|
7
|
+
spec.version = '1.12'
|
8
8
|
spec.authors = ["unformatt"]
|
9
9
|
spec.email = ["unformatt@gmail.com"]
|
10
10
|
spec.description = "Custom recipes for Unformatt projects"
|
@@ -9,7 +9,7 @@ namespace :deploy do
|
|
9
9
|
|
10
10
|
desc "Starts applications"
|
11
11
|
task :start do
|
12
|
-
if ENV['DAEMONS'].
|
12
|
+
if ENV['DAEMONS'].to_s != ''
|
13
13
|
on roles :app do
|
14
14
|
ENV['DAEMONS'].split(',').each do |daemon|
|
15
15
|
execute "sudo monit start #{fetch(:application)}-#{daemon}"
|
@@ -22,7 +22,7 @@ namespace :deploy do
|
|
22
22
|
|
23
23
|
desc "Stops applications"
|
24
24
|
task :stop do
|
25
|
-
if ENV['DAEMONS'].
|
25
|
+
if ENV['DAEMONS'].to_s != ''
|
26
26
|
on roles :app do
|
27
27
|
ENV['DAEMONS'].split(',').each do |daemon|
|
28
28
|
execute "sudo monit stop #{fetch(:application)}-#{daemon}"
|
@@ -35,7 +35,7 @@ namespace :deploy do
|
|
35
35
|
|
36
36
|
desc "Restarts applications"
|
37
37
|
task :restart do
|
38
|
-
if ENV['DAEMONS'].
|
38
|
+
if ENV['DAEMONS'].to_s != ''
|
39
39
|
on roles :app do
|
40
40
|
ENV['DAEMONS'].split(',').each do |daemon|
|
41
41
|
execute "sudo monit restart #{fetch(:application)}-#{daemon}"
|
@@ -48,7 +48,7 @@ namespace :deploy do
|
|
48
48
|
|
49
49
|
desc "Starts monitoring applications"
|
50
50
|
task :monitor do
|
51
|
-
if ENV['DAEMONS'].
|
51
|
+
if ENV['DAEMONS'].to_s != ''
|
52
52
|
on roles :app do
|
53
53
|
ENV['DAEMONS'].split(',').each do |daemon|
|
54
54
|
execute "sudo monit monitor #{fetch(:application)}-#{daemon}"
|
@@ -61,7 +61,7 @@ namespace :deploy do
|
|
61
61
|
|
62
62
|
desc "Stops monitoring applications"
|
63
63
|
task :unmonitor do
|
64
|
-
if ENV['DAEMONS'].
|
64
|
+
if ENV['DAEMONS'].to_s != ''
|
65
65
|
on roles :app do
|
66
66
|
ENV['DAEMONS'].split(',').each do |daemon|
|
67
67
|
execute "sudo monit unmonitor #{fetch(:application)}-#{daemon}"
|
@@ -69,7 +69,7 @@ server {
|
|
69
69
|
ssl_session_cache shared:SSL:10m;
|
70
70
|
ssl_session_timeout 5m;
|
71
71
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
72
|
-
<%- if fetch(:nginx_ssl_ciphers,'')
|
72
|
+
<%- if fetch(:nginx_ssl_ciphers,'') != '' -%>
|
73
73
|
ssl_ciphers "<%= fetch(:nginx_ssl_ciphers) %>";
|
74
74
|
ssl_prefer_server_ciphers on;
|
75
75
|
ssl_dhparam <%= fetch(:nginx_dhparams_path, '/etc/ssl/private/dhparams.pem') %>;
|