chef-vpc-toolkit 2.0.0 → 2.0.1
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.
- data/.gitignore +7 -0
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/contrib/rake/Rakefile +6 -1
- data/lib/chef-vpc-toolkit/util.rb +4 -4
- metadata +6 -6
data/.gitignore
CHANGED
data/Rakefile
CHANGED
@@ -21,7 +21,7 @@ begin
|
|
21
21
|
Jeweler::Tasks.new do |gemspec|
|
22
22
|
gemspec.name = "chef-vpc-toolkit"
|
23
23
|
gemspec.summary = "Rake tasks to automate and configure server groups in the cloud with Chef."
|
24
|
-
gemspec.description = "The Chef VPC Toolkit is a set of Rake tasks that provide a framework to help automate the creation and configuration of
|
24
|
+
gemspec.description = "The Chef VPC Toolkit is a set of Rake tasks that provide a framework to help automate the creation and configuration of cloud server groups for development or testing. Requires Cloud Servers VPC."
|
25
25
|
gemspec.email = "dan.prince@rackspace.com"
|
26
26
|
gemspec.homepage = "http://github.com/rackspace/chef-vpc-toolkit"
|
27
27
|
gemspec.authors = ["Dan Prince"]
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.1
|
data/contrib/rake/Rakefile
CHANGED
@@ -10,7 +10,7 @@ elsif File.exists?(version_file)
|
|
10
10
|
toolkit_version=IO.read(version_file)
|
11
11
|
end
|
12
12
|
|
13
|
-
puts "Chef VPC Toolkit Version: #{toolkit_version}"
|
13
|
+
#puts "Chef VPC Toolkit Version: #{toolkit_version}"
|
14
14
|
|
15
15
|
gem 'chef-vpc-toolkit', "= #{toolkit_version}" if toolkit_version
|
16
16
|
|
@@ -21,3 +21,8 @@ include ChefVPCToolkit
|
|
21
21
|
Dir[File.join("#{ChefVPCToolkit::Version::CHEF_VPC_TOOLKIT_ROOT}/rake", '*.rake')].each do |rakefile|
|
22
22
|
import(rakefile)
|
23
23
|
end
|
24
|
+
|
25
|
+
Dir[File.join(File.dirname("__FILE__"), 'tasks', '*.rake')].each do |rakefile|
|
26
|
+
puts rakefile
|
27
|
+
import(rakefile)
|
28
|
+
end
|
@@ -6,12 +6,12 @@ module Util
|
|
6
6
|
|
7
7
|
def self.load_configs
|
8
8
|
|
9
|
-
config_file=ENV['
|
9
|
+
config_file=ENV['CHEF_VPC_TOOLKIT_CONF']
|
10
10
|
if config_file.nil? then
|
11
11
|
|
12
|
-
config_file=ENV['HOME']+File::SEPARATOR+".
|
12
|
+
config_file=ENV['HOME']+File::SEPARATOR+".chef_vpc_toolkit.conf"
|
13
13
|
if not File.exists?(config_file) then
|
14
|
-
config_file="/etc/
|
14
|
+
config_file="/etc/chef_vpc_toolkit.conf"
|
15
15
|
end
|
16
16
|
|
17
17
|
end
|
@@ -23,7 +23,7 @@ module Util
|
|
23
23
|
raise_if_nil_or_empty(configs, "cloud_servers_vpc_password")
|
24
24
|
return configs
|
25
25
|
else
|
26
|
-
raise "Failed to load cloud toolkit config file. Please configure /etc/
|
26
|
+
raise "Failed to load cloud toolkit config file. Please configure /etc/chef_vpc_toolkit.conf or create a .chef_vpc_toolkit.conf config file in your HOME directory."
|
27
27
|
end
|
28
28
|
|
29
29
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-vpc-toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 2.0.
|
9
|
+
- 1
|
10
|
+
version: 2.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dan Prince
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-12-07 00:00:00 -05:00
|
19
19
|
default_executable: chef-vpc-toolkit
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -60,7 +60,7 @@ dependencies:
|
|
60
60
|
version: "0"
|
61
61
|
type: :runtime
|
62
62
|
version_requirements: *id003
|
63
|
-
description: The Chef VPC Toolkit is a set of Rake tasks that provide a framework to help automate the creation and configuration of
|
63
|
+
description: The Chef VPC Toolkit is a set of Rake tasks that provide a framework to help automate the creation and configuration of cloud server groups for development or testing. Requires Cloud Servers VPC.
|
64
64
|
email: dan.prince@rackspace.com
|
65
65
|
executables:
|
66
66
|
- chef-vpc-toolkit
|
@@ -149,5 +149,5 @@ signing_key:
|
|
149
149
|
specification_version: 3
|
150
150
|
summary: Rake tasks to automate and configure server groups in the cloud with Chef.
|
151
151
|
test_files:
|
152
|
-
- test/cloud_servers_vpc_test.rb
|
153
152
|
- test/test_helper.rb
|
153
|
+
- test/cloud_servers_vpc_test.rb
|