cookbook 'rackspace_lbaas', '= 0.1.3'
rackspace_lbaas (4) Versions 0.1.3 Follow0
Libraries for managing Rackspace cloud load balancers.
cookbook 'rackspace_lbaas', '= 0.1.3', :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:
depends 'rackspace_lbaas'
Add the default recipe to your run list:
recipe[rackspace_lbaas]
Or include it in your recipe:
include_recipe 'rackspace_lbaas'
Examples
Create a new lode balancer node:
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:
load_balancer_node 'spcblls-01' do
username 'kngroland'
api_key '1122334455'
load_balancer_id '12345'
action :drain
end
Delete a load balancer node:
load_balancer_node 'spcblls-01' do
username 'kngroland'
api_key '1122334455'
load_balancer_id '12345'
action :delete
end
Create a new lode balancer:
load_balancer 'spcblls-01' do
username 'kngroland'
api_key '1122334455'
end
Update a load balancer:
load_balancer 'spcblls-01' do
username 'kngroland'
api_key '1122334455'
protocol 'HTTPS'
port 443
action :update
end
Delete a load balancer:
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.3
- Will B - Remove load balancer id as a required attribute and update FC rake task.
0.1.2
- Will B - Cleanup of the readme.
0.1.1
- Will B - Addition of load_balancer resource.
0.1.0
- Will B - Initial release of rackspace_cloudlb.
Foodcritic Metric
0.1.3 failed this metric
FC031: Cookbook without metadata file: /tmp/cook/81b3e0d4d0123f8947a337a5/rackspace_lbaas/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/81b3e0d4d0123f8947a337a5/rackspace_lbaas/metadata.rb:1
0.1.3 failed this metric
FC045: Consider setting cookbook name in metadata: /tmp/cook/81b3e0d4d0123f8947a337a5/rackspace_lbaas/metadata.rb:1