sitle / chef-iproute2

Adsl aggregator, ...

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iproute2-cookbook

Chef cookbook which allows to install iproute2 as a service...

Vagrant plugins

To use the Vagrantfile, you need to install some plugins :

vagrant plugin install vagrant-berkshelf
vagrant plugin install vagrant-omnibus
vagrant plugin install vagrant-cachier

Supported Platforms

Ubuntu/Debian

Attributes

Key Type Description Default
['iproute2']['package'] String iproute2 package name iproute2
['iproute2']['start'] StringArea Successive portions of the ip command of the start service nil
['iproute2']['stop'] StringArea Successive portions of the ip command of the stop service nil

Usage

eg (Allows to make an adsl aggregator...)

  • default['iproute2']['stop'] = [ "ip route add default dev eth0" ]
  • default['iproute2']['start'] = [ "ip route add default scope global" ]
  • default['iproute2']['start'].push( "nexthop via 192.198.7.3 weight 1" )
  • default['iproute2']['start'].push( "nexthop via 192.198.7.4 weight 1" )
  • default['iproute2']['start'].push( "nexthop via 192.198.7.5 weight 1" )
  • default['iproute2']['start'].push( "nexthop via 192.198.7.6 weight 1" )
  • default['iproute2']['start'].push( "nexthop via 192.198.7.7 weight 1" )
  • default['iproute2']['start'].push( "nexthop via 192.198.7.8 weight 1" )
  • default['iproute2']['start'].push( "nexthop via 192.198.7.9 weight 1" )
  • default['iproute2']['start'].push( "nexthop via 192.198.7.10 weight 1" )

iproute2::default

Include iproute2 in your node's run_list:

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

License and Authors

Author:: PE, pf. (philippe.eychart@mail.pf)

About

Adsl aggregator, ...

License:Other


Languages

Language:Ruby 90.0%Language:Shell 10.0%