Forge Home

interfaces

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

10,012 downloads

10,012 latest version

3.3 quality score

Version information

  • 0.0.1 (latest)
released Nov 5th 2012

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'eirc-interfaces', '0.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add eirc-interfaces
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install eirc-interfaces --version 0.0.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

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