rubber 2.2.2 → 2.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,16 @@
1
+ 2.2.3 (03/04/2013)
2
+ ------------------
3
+
4
+ Improvements:
5
+ ============
6
+ [base] Updated the default set of gemsources
7
+ [base] Updated to the latest Ubuntu 12.0.4 LTS AMI
8
+
9
+ Bug Fixes:
10
+ =========
11
+ [all] Don't fail starting a service if it's already running.
12
+
13
+
1
14
  2.2.2 (02/22/2013)
2
15
  ------------------
3
16
 
@@ -1,3 +1,3 @@
1
1
  module Rubber
2
- VERSION = "2.2.2"
2
+ VERSION = "2.2.3"
3
3
  end
@@ -52,7 +52,7 @@ namespace :rubber do
52
52
 
53
53
  desc "Starts the apache web server"
54
54
  task :start, :roles => :apache do
55
- rsudo "service apache2 start"
55
+ rsudo "service apache2 status || service apache2 start"
56
56
  end
57
57
 
58
58
  desc "Restarts the apache web server"
@@ -84,7 +84,7 @@ cloud_providers:
84
84
  #
85
85
  # m1.small or m1.large or m1.xlarge
86
86
  image_type: c1.medium
87
- image_id: ami-d726abbe
87
+ image_id: ami-b6089bdf
88
88
 
89
89
  # OPTIONAL: EC2 spot instance request support.
90
90
  #
@@ -224,7 +224,7 @@ prompt_for_security_group_sync: true
224
224
  packages: [postfix, build-essential, git-core, ec2-ami-tools, libxslt-dev, ntp]
225
225
 
226
226
  # OPTIONAL: gem sources to setup for rubygems
227
- # gemsources: ["http://rubygems.org", "http://gems.github.com"]
227
+ # gemsources: ["https://rubygems.org"]
228
228
 
229
229
  # OPTIONAL: The gems to install on all instances
230
230
  # You can install a specific version of a gem by using a sub-array of gem, version
@@ -22,7 +22,7 @@ namespace :rubber do
22
22
 
23
23
  desc "Start collectd system monitoring"
24
24
  task :start, :roles => :collectd do
25
- rsudo "service collectd start"
25
+ rsudo "service collectd status || service collectd start"
26
26
  end
27
27
 
28
28
  desc "Stop collectd system monitoring"
@@ -86,7 +86,7 @@ namespace :rubber do
86
86
 
87
87
  desc "Starts the couchbase server"
88
88
  task :start, :roles => :couchbase do
89
- rsudo "service couchbase-server start"
89
+ rsudo "service couchbase-server status || service couchbase-server start"
90
90
  end
91
91
 
92
92
  desc "Restarts the couchbase server"
@@ -34,7 +34,7 @@ namespace :rubber do
34
34
  end
35
35
 
36
36
  task :start, :roles => :elasticsearch do
37
- rsudo "service elasticsearch start"
37
+ rsudo "service elasticsearch status || service elasticsearch start"
38
38
  end
39
39
 
40
40
  task :stop, :roles => :elasticsearch do
@@ -116,7 +116,7 @@ namespace :rubber do
116
116
 
117
117
  desc "Start graphite system monitoring"
118
118
  task :start, :roles => :graphite_server do
119
- rsudo "service graphite-server start"
119
+ rsudo "service graphite-server status || service graphite-server start"
120
120
  end
121
121
 
122
122
  desc "Stop graphite system monitoring"
@@ -191,7 +191,7 @@ EOF
191
191
 
192
192
  desc "Start graphite system monitoring"
193
193
  task :start, :roles => :graphite_web do
194
- rsudo "service graphite-web start"
194
+ rsudo "service graphite-web status || service graphite-web start"
195
195
  end
196
196
 
197
197
  desc "Stop graphite system monitoring"
@@ -27,7 +27,7 @@ namespace :rubber do
27
27
 
28
28
  desc "Starts the haproxy server"
29
29
  task :start, :roles => :haproxy do
30
- rsudo "service haproxy start"
30
+ rsudo "service haproxy status || service haproxy start"
31
31
  end
32
32
 
33
33
  desc "Restarts the haproxy server"
@@ -76,7 +76,7 @@ namespace :rubber do
76
76
  Starts the jenkins daemon
77
77
  DESC
78
78
  task :start, :roles => :jenkins do
79
- rsudo "service jenkins start"
79
+ rsudo "service jenkins status || service jenkins start"
80
80
  end
81
81
 
82
82
  desc <<-DESC
@@ -33,7 +33,7 @@ namespace :rubber do
33
33
  Starts the mongodb daemon
34
34
  DESC
35
35
  task :start, :roles => :mongodb do
36
- rsudo "service mongodb start"
36
+ rsudo "service mongodb status || service mongodb start"
37
37
  end
38
38
 
39
39
  desc <<-DESC
@@ -14,7 +14,7 @@ namespace :rubber do
14
14
 
15
15
  desc "Start monit daemon monitoring"
16
16
  task :start, :roles => :monit do
17
- rsudo "service monit start"
17
+ rsudo "service monit status || service monit start"
18
18
  end
19
19
 
20
20
  desc "Stop monit daemon monitoring"
@@ -134,7 +134,7 @@ namespace :rubber do
134
134
  Starts the mysql daemons
135
135
  DESC
136
136
  task :start, :roles => [:mysql_master, :mysql_slave] do
137
- rsudo "service mysql start"
137
+ rsudo "service mysql status || service mysql start"
138
138
  end
139
139
 
140
140
  desc <<-DESC
@@ -122,7 +122,7 @@ namespace :rubber do
122
122
  Starts the mysql cluster sql daemon on the sql nodes
123
123
  DESC
124
124
  task :start_sql, :roles => :mysql_sql do
125
- rsudo "service mysql start"
125
+ rsudo "service mysql status || service mysql start"
126
126
  end
127
127
 
128
128
  desc <<-DESC
@@ -40,7 +40,7 @@ namespace :rubber do
40
40
 
41
41
  desc "Starts the nginx web server"
42
42
  task :start, :roles => :nginx do
43
- rsudo "service nginx start"
43
+ rsudo "service nginx status || service nginx start"
44
44
  end
45
45
 
46
46
  desc "Restarts the nginx web server"
@@ -55,7 +55,7 @@ namespace :rubber do
55
55
 
56
56
  desc "Starts the nginx web server"
57
57
  task :start, :roles => :passenger_nginx do
58
- rsudo "service nginx start"
58
+ rsudo "service nginx status || service nginx start"
59
59
  end
60
60
 
61
61
  desc "Restarts the nginx web server"
@@ -147,7 +147,7 @@ namespace :rubber do
147
147
  Starts the mysql daemons
148
148
  DESC
149
149
  task :start, :roles => [:percona_master, :percona_slave] do
150
- rsudo "service mysql start"
150
+ rsudo "service mysql status || service mysql start"
151
151
  end
152
152
 
153
153
  desc <<-DESC
@@ -60,7 +60,7 @@ namespace :rubber do
60
60
 
61
61
  desc "Starts the redis server"
62
62
  task :start, :roles => :redis do
63
- rsudo "service redis-server start"
63
+ rsudo "service redis-server status || service redis-server start"
64
64
  end
65
65
 
66
66
  desc "Restarts the redis server"
@@ -102,7 +102,7 @@ namespace :rubber do
102
102
  end
103
103
 
104
104
  task :start, :roles => :torquebox do
105
- rsudo "service torquebox start"
105
+ rsudo "service torquebox status || service torquebox start"
106
106
  end
107
107
 
108
108
  after "deploy:restart", "rubber:torquebox:reload"
@@ -35,7 +35,7 @@ namespace :rubber do
35
35
  Starts the zookeeper daemon
36
36
  DESC
37
37
  task :start, :roles => :zookeeper do
38
- rsudo "service zookeeper start"
38
+ rsudo "service zookeeper status || service zookeeper start"
39
39
  end
40
40
 
41
41
  desc <<-DESC
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubber
3
3
  version: !ruby/object:Gem::Version
4
+ version: 2.2.3
4
5
  prerelease:
5
- version: 2.2.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Matt Conway
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-02-22 00:00:00.000000000 Z
13
+ date: 2013-03-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: capistrano
@@ -694,20 +694,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
694
694
  requirements:
695
695
  - - ">="
696
696
  - !ruby/object:Gem::Version
697
- version: !binary |-
698
- MA==
699
697
  segments:
700
698
  - 0
699
+ version: !binary |-
700
+ MA==
701
701
  hash: 2
702
702
  none: false
703
703
  required_rubygems_version: !ruby/object:Gem::Requirement
704
704
  requirements:
705
705
  - - ">="
706
706
  - !ruby/object:Gem::Version
707
- version: !binary |-
708
- MA==
709
707
  segments:
710
708
  - 0
709
+ version: !binary |-
710
+ MA==
711
711
  hash: 2
712
712
  none: false
713
713
  requirements: []