]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/resolv/manifests/init.pp
Fix stomping of certfile
[dsa-puppet.git] / modules / resolv / manifests / init.pp
index 3fd5530ab780841af1358d37a55b85d25971a8e4..3447733a35588b12478f427270df15d3eaed6631 100644 (file)
@@ -1,5 +1,10 @@
 class resolv {
-       file {  "/etc/resolv.conf/":
-                       content => template("resolv/resolv.conf.erb");
+
+       $ns   = hiera('nameservers')
+       $sp   = hiera('searchpaths')
+       $opts = hiera('resolvoptions')
+
+       file { '/etc/resolv.conf':
+                       content => template('resolv/resolv.conf.erb');
        }
 }