Puppet Class: network
- Defined in:
-
manifests/init.pp
Summary
Configure basic networking
Overview
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# File 'manifests/init.pp', line 9
class network (
Array[String] $resolvers = ['8.8.8.8#dns.google', '8.8.4.4#dns.google'],
Array[String] $domains = [],
Boolean $dnsovertls = true,
Hash[String, Array[String]] $bridges = {},
Hash[String, Hash[String, String]] $vlans = {},
Array[String] $ignore = ['^lo$', '^docker\d+$', '^(tap|veth)', '^wg\d+'],
) {
case $facts['os']['family'] {
'Archlinux': { include network::systemd }
'Arch': { include network::systemd }
'Debian': { include network::systemd }
default: { fail("Module does not support ${facts['os']['family']}") }
}
}
|