Sha256: cf8298157965e90ca8cb52e6666296f3b443810d323f1de8ccf82bc4d7e5fcc5
Contents?: true
Size: 429 Bytes
Versions: 1
Compression:
Stored size: 429 Bytes
Contents
#!/usr/bin/env ruby require 'awstool' require 'pp' options = Awstool::Settings.get_options options['hostnames'].each do |hostname| if options['subnet_balance'] options['subnet-id-index'] = ( options['subnet-id-index'] + 1 ) % ( options['subnet-ids'].length ) end options['tags']['Name'] = hostname options['hostname'] = hostname instance = Awstool::Instance.new(options) instance.launch instance.set_dns end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
awstool-0.2.3 | bin/awstool |