diff options
Diffstat (limited to 'puppet/modules/resolvconf/templates/resolvconf.erb')
m--------- | puppet/modules/resolvconf | 0 | ||||
-rw-r--r-- | puppet/modules/resolvconf/templates/resolvconf.erb | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/puppet/modules/resolvconf b/puppet/modules/resolvconf deleted file mode 160000 -Subproject c7eca077fdda063edc96d3bea02c4774569e4b1 diff --git a/puppet/modules/resolvconf/templates/resolvconf.erb b/puppet/modules/resolvconf/templates/resolvconf.erb new file mode 100644 index 00000000..d8136bfb --- /dev/null +++ b/puppet/modules/resolvconf/templates/resolvconf.erb @@ -0,0 +1,7 @@ +# managed by puppet +domain <%= scope.lookupvar('resolvconf::domain') %> +search <%= scope.lookupvar('resolvconf::search') %> + +<% scope.lookupvar('resolvconf::nameservers').each do |nameserver| -%> +nameserver <%= nameserver %> +<% end -%> |