Sha256: 1ae59f3bb89f8024a181df432634bfc2bdaeca3e0253925684d41cdbb98f3a29
Contents?: true
Size: 433 Bytes
Versions: 5
Compression:
Stored size: 433 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 - 1 ) end options['tags']['Name'] = hostname options['hostname'] = hostname instance = Awstool::Instance.new(options) instance.launch instance.set_dns end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
awstool-0.2.2 | bin/awstool |
awstool-0.2.1 | bin/awstool |
awstool-0.2.0 | bin/awstool |
awstool-0.1.2 | bin/awstool |
awstool-0.1.1 | bin/awstool |