Version information
released Mar 28th 2016
This version is compatible with:
- ,
Start using this module
Add this module to your Puppetfile:
mod 'lexance-networking', '0.0.2'
Learn more about managing modules with a PuppetfileDocumentation
lexance/networking — version 0.0.2 Mar 28th 2016
Networking Puppet Module
Manage (dualstack-)network interfaces.
Usage
class { 'networking':
inet6_loopback => true,
interfaces => {
'test0' => {
auto => true,
mac => '00:25:90:f8:sc:ec',
inet => {
method => 'static',
family_settings => {
address => '144.76.42.151',
network => '144.76.42.128',
netmask => '27',
gateway => '144.76.42.129'
},
},
inet6 => {
method => 'static',
family_settings => {
address => '2a01:4f8:111:439a:0:0:0:1',
netmask => '96',
gateway => 'fe80::1'
}
}
},
}
}
Specifing inet6_loopback with true does result in a iface lo inet6 loopback
line which is required for having the IPv6 applied to the interface. Read more...
This module does install the iftab
package on your system and so u should be able to rename your interfaces. If u want to do so, specifiy the MAC address. If u dont specify a MAC while giving non standard interface names like eth0
ur network service wont start.
Specifing inet
or inet6
is optional.
Copyright 2015 Victor J. C. Geyer Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.