the-maestro 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +2 -2
- data/VERSION +1 -1
- data/lib/maestro/cloud.rb +1 -1
- data/lib/maestro/operating_system/cent_os.rb +2 -2
- data/lib/maestro/operating_system/debian.rb +2 -2
- data/lib/maestro/operating_system/fedora.rb +2 -2
- data/lib/maestro/operating_system/ubuntu.rb +4 -4
- data/test/integration/test_debian.rb +0 -15
- data/the-maestro.gemspec +2 -2
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -9,7 +9,7 @@ Maestro currently supports the Amazon Web Services cloud. Support for other clou
|
|
9
9
|
Maestro currently supports the following Linux distributions:
|
10
10
|
|
11
11
|
Ubuntu (10.04, 9.10, 9.04, 8.10, 8.04)
|
12
|
-
Debian (
|
12
|
+
Debian (5.0)
|
13
13
|
Fedora (8)
|
14
14
|
CentOS (5.4)
|
15
15
|
|
@@ -22,7 +22,7 @@ Add the following gem dependency to your Rails project's <code>config/environmen
|
|
22
22
|
|
23
23
|
Rails::Initializer.run do |config|
|
24
24
|
|
25
|
-
config.gem "the-maestro", :lib => "maestro", :version => "0.3.
|
25
|
+
config.gem "the-maestro", :lib => "maestro", :version => "0.3.5", :source => "http://gemcutter.org"
|
26
26
|
|
27
27
|
end
|
28
28
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.5
|
data/lib/maestro/cloud.rb
CHANGED
@@ -156,7 +156,7 @@ module Maestro
|
|
156
156
|
channel.request_pty {|ch, success| abort "could not obtain pty" if !success}
|
157
157
|
channel.exec("chef-solo --version") do |ch, success|
|
158
158
|
ch.on_data do |ch, data|
|
159
|
-
if !data.include?("Chef: 0.
|
159
|
+
if !data.include?("Chef: 0.9")
|
160
160
|
valid = false
|
161
161
|
needs_chef << the_node
|
162
162
|
end
|
@@ -15,8 +15,8 @@ module Maestro
|
|
15
15
|
"sudo rm /usr/local/src/rubygems-1.3.6.tgz",
|
16
16
|
"sudo gem sources -a http://gems.opscode.com",
|
17
17
|
"sudo gem install rake --no-rdoc --no-ri",
|
18
|
-
"sudo gem install chef --no-rdoc --no-ri --version '= 0.
|
19
|
-
"sudo ln -sfv $(gem environment gemdir)/gems/chef-0.
|
18
|
+
"sudo gem install chef --no-rdoc --no-ri --version '= 0.9.0'",
|
19
|
+
"sudo ln -sfv $(gem environment gemdir)/gems/chef-0.9.0/bin/chef-solo /usr/bin/chef-solo"]
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|
@@ -18,8 +18,8 @@ module Maestro
|
|
18
18
|
"sudo ln -sfv /usr/bin/gem1.8 /usr/bin/gem",
|
19
19
|
"sudo gem sources -a http://gems.opscode.com",
|
20
20
|
"sudo gem install rake --no-rdoc --no-ri",
|
21
|
-
"sudo gem install chef --no-rdoc --no-ri --version '= 0.
|
22
|
-
"sudo ln -sfv $(gem environment gemdir)/gems/chef-0.
|
21
|
+
"sudo gem install chef --no-rdoc --no-ri --version '= 0.9.0'",
|
22
|
+
"sudo ln -sfv $(gem environment gemdir)/gems/chef-0.9.0/bin/chef-solo /usr/bin/chef-solo"]
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
@@ -15,8 +15,8 @@ module Maestro
|
|
15
15
|
"sudo rm /usr/local/src/rubygems-1.3.6.tgz",
|
16
16
|
"sudo gem sources -a http://gems.opscode.com",
|
17
17
|
"sudo gem install rake --no-rdoc --no-ri",
|
18
|
-
"sudo gem install chef --no-rdoc --no-ri --version '= 0.
|
19
|
-
"sudo ln -sfv $(gem environment gemdir)/gems/chef-0.
|
18
|
+
"sudo gem install chef --no-rdoc --no-ri --version '= 0.9.0'",
|
19
|
+
"sudo ln -sfv $(gem environment gemdir)/gems/chef-0.9.0/bin/chef-solo /usr/bin/chef-solo"]
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|
@@ -16,8 +16,8 @@ module Maestro
|
|
16
16
|
"sudo ln -sfv /usr/bin/gem1.8 /usr/bin/gem",
|
17
17
|
"sudo gem sources -a http://gems.opscode.com",
|
18
18
|
"sudo gem install rake --no-rdoc --no-ri",
|
19
|
-
"sudo gem install chef --no-rdoc --no-ri --version '= 0.
|
20
|
-
"sudo ln -sfv $(gem environment gemdir)/gems/chef-0.
|
19
|
+
"sudo gem install chef --no-rdoc --no-ri --version '= 0.9.0'",
|
20
|
+
"sudo ln -sfv $(gem environment gemdir)/gems/chef-0.9.0/bin/chef-solo /usr/bin/chef-solo"]
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
@@ -38,8 +38,8 @@ module Maestro
|
|
38
38
|
"sudo ln -sfv /usr/bin/gem1.8 /usr/bin/gem",
|
39
39
|
"sudo gem sources -a http://gems.opscode.com",
|
40
40
|
"sudo gem install rake --no-rdoc --no-ri",
|
41
|
-
"sudo gem install chef --no-rdoc --no-ri --version '= 0.
|
42
|
-
"sudo ln -sfv $(gem environment gemdir)/gems/chef-0.
|
41
|
+
"sudo gem install chef --no-rdoc --no-ri --version '= 0.9.0'",
|
42
|
+
"sudo ln -sfv $(gem environment gemdir)/gems/chef-0.9.0/bin/chef-solo /usr/bin/chef-solo"]
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
@@ -86,21 +86,6 @@ class TestDebian < Test::Unit::TestCase
|
|
86
86
|
# Tests
|
87
87
|
#######################
|
88
88
|
|
89
|
-
context "Debian 6.0" do
|
90
|
-
should "install chef-solo" do
|
91
|
-
@node.ami "ami-daf615b3"
|
92
|
-
@node.ssh_user "root"
|
93
|
-
assert_nothing_raised do
|
94
|
-
@cloud.connect!
|
95
|
-
@cloud.start
|
96
|
-
@cloud.get_configurable_node_hostnames
|
97
|
-
assert !@cloud.chef_solo_installed?[0]
|
98
|
-
@cloud.install_chef_solo
|
99
|
-
assert @cloud.chef_solo_installed?[0]
|
100
|
-
end
|
101
|
-
end
|
102
|
-
end
|
103
|
-
|
104
89
|
context "Debian 5.0" do
|
105
90
|
should "install chef-solo" do
|
106
91
|
@node.ami "ami-dcf615b5"
|
data/the-maestro.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{the-maestro}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Brian Ploetz"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-06-22}
|
13
13
|
s.description = %q{Maestro is a cloud provisioning, configuration, and management utility for your Ruby and Ruby On Rails applications.}
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"LICENSE",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: the-maestro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Ploetz
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-06-22 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|