cookbook 'ucarp', '~> 0.0.6'
ucarp (2) Versions 0.0.6 Follow0
Installs/Configures ucarp
cookbook 'ucarp', '~> 0.0.6', :supermarket
knife supermarket install ucarp
knife supermarket download ucarp
Description
Manages ucarp IP failover on Linux.
Requirements
Currently supports Debian and Ubuntu style networking.
Attributes
- vid - ID of the virtual server, defaults to 1
- password - ucarp password
- advskew - advertisement skew in seconds, defaults to 1 for master
- advbase - advertisement interval in seconds, defaults to 1
- master - true if this node is the master
- vip - the virtual IP
- netmask - the netmask of the virtual IP
- interface - the interface ucarp manages, defaults to eth0
- bonded_interfaces - the interfaces to bond when bonding is enabled, defaults to eth0, eth1
- bond_mode - the bonding mode when bonding is used
Usage
Add the ucarp recipe to the runlist. Specify site configuration
with node attributes.
Example role for a master:
name "ucarp_master"
description "Role for ucarp master"
run_list([
"recipe[ucarp]"
])
override_attributes({
:ucarp => {
:password => "sekret",
:vip => "192.168.122.10",
:netmask => "255.255.255.0",
:master => true
}
})
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
CHANGELOG for ucarp
This file is used to list changes made in each version of ucarp.
0.0.6:
- Add supported OSs
- Add support for mode 1 failover bonded interfaces
0.0.5:
- Flush the IP address off the enslaved interfaces when setting up bonding
0.0.4:
- Add support for bonded interfaces
0.0.2:
- Interface is now an attribute
0.0.1:
- Initial release of ucarp
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Collaborator Number Metric
0.0.6 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.0.6 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.0.6 failed this metric
FC064: Ensure issues_url is set in metadata: ucarp/metadata.rb:1
FC065: Ensure source_url is set in metadata: ucarp/metadata.rb:1
FC066: Ensure chef_version is set in metadata: ucarp/metadata.rb:1
FC069: Ensure standardized license defined in metadata: ucarp/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.6 passed this metric
Testing File Metric
0.0.6 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.0.6 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.0.6 failed this metric
0.0.6 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.0.6 failed this metric
FC064: Ensure issues_url is set in metadata: ucarp/metadata.rb:1
FC065: Ensure source_url is set in metadata: ucarp/metadata.rb:1
FC066: Ensure chef_version is set in metadata: ucarp/metadata.rb:1
FC069: Ensure standardized license defined in metadata: ucarp/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.6 passed this metric
Testing File Metric
0.0.6 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.0.6 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.0.6 failed this metric
FC065: Ensure source_url is set in metadata: ucarp/metadata.rb:1
FC066: Ensure chef_version is set in metadata: ucarp/metadata.rb:1
FC069: Ensure standardized license defined in metadata: ucarp/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.6 passed this metric
Testing File Metric
0.0.6 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.0.6 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.0.6 failed this metric
0.0.6 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number