interfaces

Manage the `/etc/network/interfaces` file via puppet.

eirc

eirc

9,272 downloads

9,272 latest version

3.3 quality score

Version information

  • 0.0.1 (latest)
released Nov 5th 2012

Start using this module

Documentation

eirc/interfaces — version 0.0.1 Nov 5th 2012

interfaces

Manage the /etc/network/interfaces file via puppet.

DHCP

node dhcp-client-host {
  interfaces::dhcp { 'dhcp':
    interface => 'eth1',
  }
}

Static

node static-ip-host {
  interfaces::static { '10.211.55.101':
    interface => 'eth1',
    ip        => '10.211.55.101',
    netmask   => '255.255.255.0',
    broadcast => '10.211.55.255',
    gateway   => '10.211.55.1',
  }
}

License

Apache License, Version 2.0

Contact

Eric Cohen eirc.eirc@gmail.com

Support

Please log tickets and issues at our Github issues page