Skip to content
Snippets Groups Projects
Commit 1e462256 authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

Change how debian network is configured.

parent ab786864
No related branches found
No related tags found
No related merge requests found
Pipeline #649 failed
...@@ -39,6 +39,15 @@ class lysnetwork::public_ip { ...@@ -39,6 +39,15 @@ class lysnetwork::public_ip {
} }
'Debian': { 'Debian': {
package { 'resolvconf': ensure => installed } package { 'resolvconf': ensure => installed }
# https://forge.puppet.com/modules/example42/network
# Debian seem to require a separate interface rule per
# interface, per network stack.
network::interface { "${iface}v6":
enable => true,
interface => $iface,
ipaddress => "2001:6b0:17:f0a0::${last_octet_16}",
gateway => '2001:6b0:17:f0a0::1',
}
} }
default: {} default: {}
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment