blob: bf5aef35f0ed44ce309c38fd60a9c1dee11c1c61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# managed by puppet
<%- if scope.lookupvar('resolvconf::domain') != '' then -%>
domain <%= scope.lookupvar('resolvconf::domain') %>
<%- end -%>
<%- if scope.lookupvar('resolvconf::search') != '' then -%>
search <%= scope.lookupvar('resolvconf::search') %>
<%- end -%>
<% scope.lookupvar('resolvconf::nameservers').each do |nameserver| -%>
nameserver <%= nameserver %>
<% end -%>
|