Sha256: 3836f74ed573691a269f6e746053e0216c0ee7d7d756603df4d0a82d9c173b8f
Contents?: true
Size: 680 Bytes
Versions: 1
Compression:
Stored size: 680 Bytes
Contents
namespace :rubber do desc <<-DESC Sets up the network load balancers DESC required_task :setup_load_balancers do setup_load_balancers() end desc <<-DESC Describes the network load balancers DESC required_task :describe_load_balancers do lbs = cloud.describe_load_balancers() pp lbs end def setup_load_balancers # get remote lbs # for each local not in remote, add it # get all zones for all instances for roles, and make sure in lb # warn if lb not balanced (count of instances per zone is equal) # for each local that is in remote, sync listeners and zones # for each remote not in local, remove it end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sml-rubber-0.9.10 | lib/rubber/recipes/rubber/load_balancers.rb |