try the hiera way of getting this info
[mirror/dsa-puppet.git] / modules / resolv / manifests / init.pp
1 class resolv {
2
3         $ns = hiera('nameservers')
4
5         file { '/etc/resolv.conf':
6                         content => template('resolv/resolv.conf.erb');
7         }
8 }