Puppet Class: conf::network
- Inherits:
- conf
- Defined in:
- manifests/network.pp
Summary
A short summary of the purpose of this classOverview
A description of what this class does
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'manifests/network.pp', line 7
class conf::network(
$has_ipv6 = false,
$interfaces = ['eth0'],
) inherits conf {
include conf::network::resolv
include conf::network::interfaces
if $has_ipv6 == false {
class { 'conf::network::sysctl':
source => 'noipv6.conf',
interfaces => $interfaces,
}
}
case $lsbdistcodename {
'jessie': {
contain conf::network::dhcpcd
}
}
}
|