try the hiera way of getting this info
[mirror/dsa-puppet.git] / modules / resolv / manifests / init.pp
index 1934cfa..152e392 100644 (file)
@@ -1,8 +1,8 @@
 class resolv {
-       file {  "/etc/resolv.conf":
-                       content => template("resolv/resolv.conf.erb");
+
+       $ns = hiera('nameservers')
+
+       file { '/etc/resolv.conf':
+                       content => template('resolv/resolv.conf.erb');
        }
 }
-# vim:set et:
-# vim:set sts=4 ts=4:
-# vim:set shiftwidth=4: