summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/resolvconf.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-10-12 14:01:11 +0200
committervarac <varacanero@zeromail.org>2012-10-12 14:01:11 +0200
commitdf1cb1b7445adcabbe355290d1e720040b916f6b (patch)
treebb4991e73c1e3d98ac4da6aae07c3683317094fc /puppet/modules/site_config/manifests/resolvconf.pp
parent9fc9b19057fcf322e8d3fcaead0032859f873f53 (diff)
+ site_config::resolvconf
Diffstat (limited to 'puppet/modules/site_config/manifests/resolvconf.pp')
-rw-r--r--puppet/modules/site_config/manifests/resolvconf.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/puppet/modules/site_config/manifests/resolvconf.pp b/puppet/modules/site_config/manifests/resolvconf.pp
new file mode 100644
index 00000000..ec3ce9e9
--- /dev/null
+++ b/puppet/modules/site_config/manifests/resolvconf.pp
@@ -0,0 +1,13 @@
+class site_config::resolvconf {
+ package { 'bind9':
+ ensure => installed,
+ }
+
+ $domain_hash = hiera('domain')
+ $domain = $domain_hash['public']
+
+ $resolvconf_search = $domain
+ $resolvconf_domain = $domain
+ $resolvconf_nameservers = '127.0.0.1 # caching-only local bind:87.118.100.175 # http://server.privacyfoundation.de'
+ include resolvconf
+}