Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Cookbook to manage networking.
branch: master

Merge pull request #21 from sinfomicien/master

Add Custom Matcher to network_interface LWRP
latest commit 87ac0df9ca
Guilhem Lettron guilhem authored

README.md

network_interfaces

Cookbook Version Travis status

Description

Manage /etc/network/interfaces on debian / Ubuntu

Requirements

ifupdown-0.7~alpha3 or older :

  • debian >= squeeze
  • Ubuntu >= 11.04 (natty)

Attributes

Usage

example for a bridge with pre-up and pre-down script :

include_recipe 'network_interfaces'
network_interfaces 'br-test' do
  target '172.16.88.2'
  mask '255.255.255.0'
  bridge [ 'none' ]
  pre_up 'cat /tmp/iptables-create | iptables-restore -n'
  post_down 'cat /tmp/iptables-delete | iptables-restore -n'
end

More documentation later.

Something went wrong with that request. Please try again.