gaptool-client 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/gaptool-client.rb +4 -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: 9840e7571899e8452f2578e42a75e31712f5bff8
|
4
|
+
data.tar.gz: a2a763ce1fdd09fa2de47cf823fced2678439a5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47902849b7ab4e1acbd72f24a130810b8e25e286d51d150451aae8c2a7d645c48be421a900979d3dbd359b48eefd18247d7117ed022e526addeb5d25767da995
|
7
|
+
data.tar.gz: 18fd55fbb61780ea848b51028052c6b271bfe8dcd377373affafb85ffc2481b4274320efbd7ac345973c43bd37e9c1b240fea2b92c291b4aeddb969b23c9d6cd
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.1
|
data/lib/gaptool-client.rb
CHANGED
@@ -101,8 +101,11 @@ module Gaptool
|
|
101
101
|
option ["-t", "--type"], "TYPE", "Type of instance, e.g. m1.large", :required => true
|
102
102
|
option ["-m", "--mirror"], "GIGABYTES", "Gigs for raid mirror, must be set up on each node", :required => false
|
103
103
|
option ["-s", "--security-group"], "SECURITY_GROUP", "Security group name. Defaults to $role-$environment", required: false
|
104
|
+
option ['-a', '--ami'], "AMI_ID", "Use a specific AMI for the instance (i.e. ami-xxxxxxx)", :required => false
|
105
|
+
option ["-C", "--chef-repo"], "GITURL", "git url for the chef repository", :requireds => false
|
106
|
+
option ["-b", "--chef-branch"], "BRANCH", "branch of the chef repository to use", :required => false
|
104
107
|
def execute
|
105
|
-
$api.addnode(zone, type, role, environment, mirror, security_group)
|
108
|
+
$api.addnode(zone, type, role, environment, mirror, security_group, ami, chef_repo, chef_branch)
|
106
109
|
end
|
107
110
|
end
|
108
111
|
|