cookbook 'rackspace_lbaas', '= 0.1.1'
rackspace_lbaas (4) Versions 0.1.1 Follow0
Libraries for managing Rackspace cloud load balancers.
cookbook 'rackspace_lbaas', '= 0.1.1', :supermarket
knife supermarket install rackspace_lbaas
knife supermarket download rackspace_lbaas
rackspace_lbaas
rackspace_lbaas is a Chef library cookbook to manage Rackspace cloud load balancers.
Supported Platforms
- Ubuntu 14.04
Usage
Place a dependency on the rackspace_cloudlb cookbook in your cookbook's metadata.rb:
ruby
depends 'rackspace_lbaas'
Add the default recipe to your run list:
ruby
...
recipe[rackspace_lbaas]
...
Or include it in your recipe:
ruby
include_recipe 'rackspace_lbaas'
Examples
Create a new lode balancer node:
ruby
load_balancer_node 'spcblls-01' do
username 'kngroland'
api_key '1122334455'
load_balancer_id '12345'
action :create
end
Change the condition of a load balancer node:
ruby
load_balancer_node 'spcblls-01' do
username 'kngroland'
api_key '1122334455'
load_balancer_id '12345'
action :drain
end
Delete a load balancer node:
ruby
load_balancer_node 'spcblls-01' do
username 'kngroland'
api_key '1122334455'
load_balancer_id '12345'
action :delete
end
Create a new lode balancer:
ruby
load_balancer 'spcblls-01' do
username 'kngroland'
api_key '1122334455'
end
Update a load balancer:
ruby
load_balancer 'spcblls-01' do
username 'kngroland'
api_key '1122334455'
protocol 'HTTPS'
port 443
action :update
end
Delete a load balancer:
ruby
load_balancer 'spcblls-01' do
username 'kngroland'
api_key '1122334455'
action :delete
end
Authors
Author:: Will Borchardt (will.borchardt@rackspace.com)
License
Please refer to LICENSE.
Dependent cookbooks
xml >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
. CHANGELOG
0.1.1
- Will B - Addition of load_balancer resource.
0.1.0
- Will B - Initial release of rackspace_cloudlb.
Foodcritic Metric
0.1.1 failed this metric
FC031: Cookbook without metadata file: /tmp/cook/f0157f8140f2bb554643d3ed/rackspace_lbaas/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/f0157f8140f2bb554643d3ed/rackspace_lbaas/metadata.rb:1
0.1.1 failed this metric
FC045: Consider setting cookbook name in metadata: /tmp/cook/f0157f8140f2bb554643d3ed/rackspace_lbaas/metadata.rb:1