capistrano-graphite 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/graphite.rb +1 -1
- data/lib/capistrano/graphite/version.rb +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: 2217bead0988be425af65e7a8840eaf056c1fb67
|
4
|
+
data.tar.gz: 90c899ecd01b2033fd072e3a589407560401841c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db30fbfa0227b4ca9a4dcc7f40a1a87abb5c56beac82f2fc4e209f8a9461c4e8536bd7a11a871b5e9672e9890494040ce9ff57ce48f7b7c05f5a75f0dc31d057
|
7
|
+
data.tar.gz: 55e261bd872065efb84473fbabcaeb8efd7503050bdad9b9e0ff93de44376177c8e0a9ea0f1faabb859b6b68d946b5b9ad28f19e695dafcc0d8eb6747c191118
|
data/lib/capistrano/graphite.rb
CHANGED
@@ -49,7 +49,7 @@ namespace :deploy do
|
|
49
49
|
desc 'notify graphite that a rollback occured'
|
50
50
|
task :graphite_rollback do
|
51
51
|
on roles(:all) do |host|
|
52
|
-
action = "
|
52
|
+
action = "rollback"
|
53
53
|
if GraphiteInterface.events_enabled(action) == 1
|
54
54
|
info("#{action.capitalize} event posted to graphite.")
|
55
55
|
elsif GraphiteInterface.events_enabled(action) == 0
|