X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fresolv%2Ftemplates%2Fresolv.conf.erb;h=e5ddafe046b2d8d61f80bf4a8798d2b5cdb732b1;hb=a07d3c87c702f358bd36d52f423c1f437307b015;hp=d612f753bdd9f5559f45e8798052e212503653e3;hpb=fc59b4e53b426aeb2d321236cc115b0e241414f9;p=dsa-puppet.git diff --git a/modules/resolv/templates/resolv.conf.erb b/modules/resolv/templates/resolv.conf.erb index d612f753..e5ddafe0 100644 --- a/modules/resolv/templates/resolv.conf.erb +++ b/modules/resolv/templates/resolv.conf.erb @@ -8,7 +8,7 @@ nameservers = [] searchpaths = [] resolvconf = '' -case hoster +case hosterinfo["name"] when "darmstadt" then case hostname when "draghi", "liszt" then @@ -16,6 +16,12 @@ case hoster end nameservers += ["82.195.75.81", "82.195.66.249", "217.198.242.225"] searchpaths << "debprivate-darmstadt.debian.org" + when "dgi" then + case hostname + when "widor" then + nameserver << "127.0.0.1" + end + nameservers += ["195.49.152.215", "195.49.152.213", "195.49.152.214"] when "ftcollins" then case hostname when "spohr", "samosa" then @@ -28,7 +34,6 @@ case hoster searchpaths << "debprivate-grnet.debian.org" when "osousl" then nameserver += ["140.211.166.130","140.211.166.131"] - searchpaths << "debprivate-osuosl.debian.org" when "ubcece" then nameservers += ["206.12.19.5", "137.82.1.1", "142.103.1.1" ] searchpaths << "debprivate-ubc.debian.org"