awful 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/awful/auto_scaling.rb +4 -0
- data/lib/awful/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64808f5ad8cd115aafd870f9dc89fd583b83cb8b
|
4
|
+
data.tar.gz: ba8ca53a1fb56bb13501de414fe57e389f3df0a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a90c817d1f6f7f9c18be681cae6942b543dda5e66772097934dc69e601fcb4c49353bccf8ebc88f7de5e8b902098f968d11ca71c09f85067b0ae7342cc91f208
|
7
|
+
data.tar.gz: c5070773d7307abb9657650b60825e6ab6da423eb7332d9e944215696343ea61b8799c222a267373a2b3f20dfa2c3c55354eaa80cd858694f06d2c9e776f1802
|
data/lib/awful/auto_scaling.rb
CHANGED
@@ -87,6 +87,10 @@ module Awful
|
|
87
87
|
end
|
88
88
|
|
89
89
|
desc 'create NAME [FILE]', 'create a new auto-scaling group'
|
90
|
+
method_option :desired_capacity, aliases: '-d', default: nil, desc: 'Set desired capacity'
|
91
|
+
method_option :min_size, aliases: '-m', default: nil, desc: 'Set minimum capacity'
|
92
|
+
method_option :max_size, aliases: '-M', default: nil, desc: 'Set maximum capacity'
|
93
|
+
method_option :launch_configuration_name, aliases: '-l', default: nil, desc: 'Launch config name'
|
90
94
|
def create(name, file = nil)
|
91
95
|
opt = load_cfg(options, file)
|
92
96
|
whitelist = %i[auto_scaling_group_name launch_configuration_name instance_id min_size max_size desired_capacity default_cooldown availability_zones
|
data/lib/awful/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awful
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ric Lister
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
128
|
version: '0'
|
129
129
|
requirements: []
|
130
130
|
rubyforge_project:
|
131
|
-
rubygems_version: 2.2.
|
131
|
+
rubygems_version: 2.2.3
|
132
132
|
signing_key:
|
133
133
|
specification_version: 4
|
134
134
|
summary: Simple AWS command-line tool.
|