awstool 0.2.2 → 0.2.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ab96728468030a0481d6f9f85c29c09864fb41c
4
- data.tar.gz: cdb3c8a42d9ae008a6a2c63c015c7a1020317304
3
+ metadata.gz: b5ea9e97cd6fe0dab0c5d47e00e961a546b18914
4
+ data.tar.gz: f894293825368a34f6ec8baeef8eb403a2ae5cf8
5
5
  SHA512:
6
- metadata.gz: 45c44c1ead2aba5c2ed00ab681910b8b93788ff6210e592c82ee813dcf117e3509a67005f76c48016d84fb87da25590c8c0090e9d9da1dad73b7adefd95e1d2f
7
- data.tar.gz: c0f20cd56e006dab6891b47139072cd1215576ae0b9889b48d08c68b5bd5a88f7676f3758c10a7cbf575221644d3cd7433d711795d71859b18693ec477c4f982
6
+ metadata.gz: 09e225572b230f58c0046193ea57493ad31599ddad96a9cc2ca56d65d17b82645fe2742bfcdc429fad438760bc0c6f1289f92a5fa3381fee01630440c3e56e75
7
+ data.tar.gz: 1c582f0d13e1779c04b0fa50af9a2193dc02e85ade6541d5e9a5b6b0b48b7699382c36572090df2e67edf17ad68c829bb290d081b13a8718c2b997c1f932b273
@@ -7,7 +7,7 @@ options = Awstool::Settings.get_options
7
7
 
8
8
  options['hostnames'].each do |hostname|
9
9
  if options['subnet_balance']
10
- options['subnet-id-index'] = ( options['subnet-id-index'] + 1 ) % ( options['subnet-ids'].length - 1 )
10
+ options['subnet-id-index'] = ( options['subnet-id-index'] + 1 ) % ( options['subnet-ids'].length )
11
11
  end
12
12
  options['tags']['Name'] = hostname
13
13
  options['hostname'] = hostname
@@ -84,7 +84,7 @@ class Awstool::Settings
84
84
  @options['tags']= {}
85
85
  @options['hostnames'] = []
86
86
  @options['rootvol_size'] = 8
87
- @options['block_devices'] = false
87
+ @options['block_devices'] = []
88
88
  @options['timezone'] = 'UTC'
89
89
  end
90
90
  end
@@ -1,3 +1,3 @@
1
1
  module Awstool
2
- VERSION = '0.2.2'
2
+ VERSION = '0.2.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awstool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Burgess