diff options
author | mh <mh@immerda.ch> | 2008-10-06 21:19:04 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-10-06 21:19:04 +0000 |
commit | df62da5a8e588444a01207310188f1e05409a117 (patch) | |
tree | 79edb42331806321cb341c01f28c7f14b01c2a76 /templates | |
parent | 47ff12dfa9f51e5b3ab948202e795de26388dd19 (diff) | |
download | puppet-resolvconf-df62da5a8e588444a01207310188f1e05409a117.tar.gz puppet-resolvconf-df62da5a8e588444a01207310188f1e05409a117.tar.bz2 |
throw away the defaulting immerda specific variables, added a special template for openbsd
Diffstat (limited to 'templates')
-rw-r--r-- | templates/resolvconf.OpenBSD.erb | 5 | ||||
-rw-r--r-- | templates/resolvconf.erb | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/templates/resolvconf.OpenBSD.erb b/templates/resolvconf.OpenBSD.erb new file mode 100644 index 0000000..945284e --- /dev/null +++ b/templates/resolvconf.OpenBSD.erb @@ -0,0 +1,5 @@ +# managed by puppet +lookup file bind +<% resolvconf_nameservers.split(':').each do |nameserver| -%> +nameserver <%= nameserver %> +<% end -%> diff --git a/templates/resolvconf.erb b/templates/resolvconf.erb index 0bc467f..f2c17a6 100644 --- a/templates/resolvconf.erb +++ b/templates/resolvconf.erb @@ -1,8 +1,8 @@ # managed by puppet -domain <%= real_resolvconf_domain %> -search <%= real_resolvconf_search %> +domain <%= resolvconf_domain %> +search <%= resolvconf_search %> -<% real_resolvconf_nameservers.split(':').each do |val| -%> -nameserver <%= val %> +<% resolvconf_nameservers.split(':').each do |nameserver| -%> +nameserver <%= nameserver %> <% end -%> |