gaptool-api 0.6.0 → 0.6.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.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/gaptool-api.rb +1 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dc30dde7d59dd2e6126225ab8c02143207a9f2f9
|
|
4
|
+
data.tar.gz: 3eaaa37b8286223d58d881d1de983f47b27144f5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0e6be66e4279c4e160deb1eec8156e23f7c9ed55976a2f184122683cb637a434a38441123ae078648f54ecf0b3f25a2fee3ffae820a5e768b2c5a1972112c44
|
|
7
|
+
data.tar.gz: b33d30a49197508cf8fc16a0b6909ea6658518d977ca445c6ba8a57dd422399e2bacd79f7ff0ae01af6c2f74b3c395e091c848a521aab4a9689cbb0708ccd99d
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.6.
|
|
1
|
+
0.6.1
|
data/lib/gaptool-api.rb
CHANGED
|
@@ -32,7 +32,7 @@ module GTAPI
|
|
|
32
32
|
JSON::parse self.class.get("/hosts/#{role}/#{environment}", options)
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
def addnode(zone, itype, role, environment, mirror=
|
|
35
|
+
def addnode(zone, itype, role, environment, mirror=nil, security_group=nil, ami=nil, chef_repo=nil, chef_branch=nil)
|
|
36
36
|
@body = {
|
|
37
37
|
'zone' => zone || @default_aws_az,
|
|
38
38
|
'itype' => itype,
|
|
@@ -42,9 +42,6 @@ module GTAPI
|
|
|
42
42
|
'chef_repo' => chef_repo,
|
|
43
43
|
'chef_branch' => chef_branch
|
|
44
44
|
}
|
|
45
|
-
unless mirror == 0 or mirror.nil?
|
|
46
|
-
@body['mirror'] = mirror
|
|
47
|
-
end
|
|
48
45
|
unless security_group.nil?
|
|
49
46
|
@body['security_group'] = security_group
|
|
50
47
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gaptool-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Bailey
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-09-
|
|
12
|
+
date: 2014-09-13 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: httparty
|