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

Remove extra ipv6 conf for Debian.

parent 65d0c655
No related branches found
No related tags found
No related merge requests found
Pipeline #636 failed
...@@ -39,23 +39,6 @@ class lysnetwork::public_ip { ...@@ -39,23 +39,6 @@ class lysnetwork::public_ip {
} }
'Debian': { 'Debian': {
package { 'resolvconf': ensure => installed } package { 'resolvconf': ensure => installed }
# An ifdown before and an ifup after would be preferable
# but if something goes wrong then than's bad
# Also, the interface should only be reinstansiated if the
# interface is about to change.
file_line { 'source interfaces.d':
ensure => present,
path => '/etc/network/interfaces',
line => 'source /etc/network/interfaces.d/*'
}
file { "/etc/network/interfaces.d/${iface}":
content => @("EOF"/$)
iface ${iface} inet6 static
address 2001:6b0:17:f0a0::${last_octet_16}/64
gateway 2001:6b0:17:f0a0::1
|- EOF
,
}
} }
default: {} default: {}
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment