Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fgouteroux/puppet-ucarp
Puppet Module UCARP. Create mutiple VIP on a sub-interface
https://github.com/fgouteroux/puppet-ucarp
Last synced: about 7 hours ago
JSON representation
Puppet Module UCARP. Create mutiple VIP on a sub-interface
- Host: GitHub
- URL: https://github.com/fgouteroux/puppet-ucarp
- Owner: fgouteroux
- Created: 2014-07-31T15:34:32.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-09T13:01:38.000Z (about 10 years ago)
- Last Synced: 2023-08-02T05:22:38.347Z (over 1 year ago)
- Language: Puppet
- Homepage:
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Puppet UCARP Module
Module for UCARP Management
Tested on Debian 7.
### Usage
Tweak and add the following to your site manifest:
```
class {'ucarp':}
```If you want to manage ucarp on boot:
```
class {'ucarp::config':
ucarp_enabled => hiera('ucarp::enabled', 'no'),
}
```To create mutiple VIP on sub-interface:
```
$ucarp_vip = hiera_hash('ucarp::vip', false)
if $ucarp_vip {
create_resources('ucarp::vip', $ucarp_vip)
}
```Example of Hieradata file:
```
ucarp::enabled: 'yes'
ucarp::vip:
100:
ucarp_sub_interface: 'eth1:100'
ucarp_sub_interface_enabled: 'yes'
ucarp_sub_interface_address: '10.0.0.1'
ucarp_sub_interface_netmask: '255.255.255.0'
ucarp_vip: '192.168.1.100'
ucarp_vip_netmask: '255.255.255.255'
ucarp_password: 'mypassword'
ucarp_options: '--advskew 1 --advbase 1 --preempt --neutral'
```