Version information
released Feb 12th 2013
Start using this module
Add this module to your Puppetfile:
mod 'ajjahn-network', '0.1.1'
Learn more about managing modules with a PuppetfileDocumentation
ajjahn/network — version 0.1.1 Feb 12th 2013
Puppet Network Interface Module
Module for provisioning (Physical) Network Interfaces
Tested on Ubuntu 12.04, patches to support other operating systems, virtual or bridge interfaces are welcome.
Installation
Clone this repo to your Puppet modules directory
git clone git://github.com/ajjahn/puppet-network.git network
Usage
Tweak and add the following to your site manifest:
node 'server.example.com' {
network::interface{ 'eth0':
method => 'dhcp',
}
network::interface{ 'eth1':
address => 192.168.1.1,
network => "192.168.1.0",
broadcast => "192.168.1.255",
}
}
Look in manifests/interface.pp for more configuration options.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
License
This module is released under the MIT license: