From: Peter Palfrader Date: Tue, 10 Sep 2019 14:55:26 +0000 (+0200) Subject: resolv.conf cleanup, fix 1 X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=4e40e8078da4683fa24ee265c5dfb6faf8bc655a;p=mirror%2Fdsa-puppet.git resolv.conf cleanup, fix 1 --- diff --git a/modules/resolv/templates/resolv.conf.erb b/modules/resolv/templates/resolv.conf.erb index 2a9f4631d..6e02dbb8e 100644 --- a/modules/resolv/templates/resolv.conf.erb +++ b/modules/resolv/templates/resolv.conf.erb @@ -16,7 +16,7 @@ end %> <% if @searchpaths.size() > 0 %> -options <%= @searchpaths.join(" ") %> +search <%= @searchpaths.join(" ") %> <% end -%> <%= nameservers.map{ |ns| "nameserver #{ns}"}.join("\n") %>