Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

f5 (30) Versions 0.2.8

Resources for managing an F5 BigIP load balancer

Policyfile
Berkshelf
Knife
cookbook 'f5', '= 0.2.8', :supermarket
cookbook 'f5', '= 0.2.8'
knife supermarket install f5
knife supermarket download f5
README
Dependencies
Changelog
Quality 33%

f5-cookbook

A LWRP to manage F5 VIPs and Pools. Currently a WIP, but it will create VIPs and pools, and add nodes to pools

Supported Platforms

TBA

Attributes

<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
</table>

Usage

f5::default

Not needed at the moment

Include f5 in your node's run_list:

{
  "run_list": [
    "recipe[f5::default]"
  ]
}

Or if you are using a wrapper cookbook,

include_recipe "f5::default"

Your node will also need access to the credentials for the load balancer either in the attributes or a data bag:

If you're using a data bag, call it f5 and the default item is called default.

$ knife data bag show f5 default
Unencrypted data bag detected, ignoring any provided secret options.
host: lb1.example.com
id: default
password: TopSecret
username: chef-api

Or, if no data bag is found, attributes are used

default[:f5][:credentials][:default] = {
host: "lb1.example.com",
username: "chef-api",
password: "TopSecret"
}

LWRP

In an application's recipe:

# Creates the pool if missing and adds this node to the pool
# (currently using node.ipaddress and node.fqdn for the node)
f5_pool 'mypool' do
  host 'value'
  port 'value'
  lb_method 'method' # LB_METHOD_ROUND_ROBIN default
end

# Creates the VIP if missing
f5_vip 'myvip' do
  address 'vipaddress'
  port 'vipport'
  protocol 'protocol' # TCP default
  pool 'mypool'
end

See the documentation for LocalLB::LBMethod and protocol.

Testing

Run rspec to run the chefspec tests.

License and Authors

Author:: Sean Walberg (sean@ertw.com)

Dependent cookbooks

build-essential >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.2.2

Bugfix for the last version

0.2.1

Supporting credentials in a databag

0.2.0

Still rough around the edges and nowhere near feature complete, but
this cookbook will create the pool and VIP and add the node as a member

0.1.0

Initial release of f5

Collaborator Number Metric
            

0.2.8 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Foodcritic Metric
            

0.2.8 failed this metric

FC039: Node method cannot be accessed with key: /tmp/390c55143f7a603f01dd63c5/f5/libraries/credentials.rb:10
Run with Foodcritic Version 8.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.2.8 passed this metric