Sha256: b1dd64e9c72cc932802e8c3ce517244601e9f608da8215fb0cb2be1371181ec4
Contents?: true
Size: 789 Bytes
Versions: 1
Compression:
Stored size: 789 Bytes
Contents
require 'rubygems' require 'virtualmonkey' @sdb = Fog::AWS::SimpleDB.new(:aws_access_key_id => Fog.credentials[:aws_access_key_id_test], :aws_secret_access_key => Fog.credentials[:aws_secret_access_key_test]) @domain="virtualmonkey_awsdns" 29.times do |num| item_name="awsdns#{num}" attributes= {"SLAVE_DB_DNSID"=>["text:Z3AINKOIEY1X3X:testslave#{num}.aws.rightscale.com"], "MASTER_DB_DNSID"=>["text:Z3AINKOIEY1X3X:test#{num}.aws.rightscale.com"], "DNS_USER"=>["cred:AWS_ACCESS_KEY_ID_TEST"], "DNS_PASSWORD"=>["cred:AWS_SECRET_ACCESS_KEY_TEST"], "DNS_PROVIDER"=>["text:AwsDNS"], "owner"=>["available"], "MASTER_DB_DNSNAME"=>["text:test#{num}.aws.rightscale.com"]} response = @sdb.put_attributes(@domain, item_name, attributes) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
virtualmonkey-0.0.1 | spec/little_ruby.rb |