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

Made public_ip work better for ubuntu.

parent 2d4a3179
Branches
Tags
No related merge requests found
......@@ -17,6 +17,9 @@ class lysnetwork::public_ip {
domain => 'lysator.liu.se',
dns1 => '130.236.254.4',
dns2 => '130.236.254.225',
dns_search => 'lysator.liu.se',
dns_nameservers => '130.236.254.4 130.236.254.225',
}
case $facts['os']['family'] {
......@@ -26,6 +29,7 @@ class lysnetwork::public_ip {
}
}
'Debian': {
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment