diff options
author | mh <mh@immerda.ch> | 2012-06-14 12:00:43 -0300 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-06-14 12:00:43 -0300 |
commit | c7eca077fdda063edc96d3bea02c4774569e4b10 (patch) | |
tree | 8217668d89cc6c58e3988bf18ec062076e924c60 /manifests | |
parent | 22b82fc14911b4d3f15ecb9b763816bc2c1790fb (diff) | |
download | puppet-resolvconf-c7eca077fdda063edc96d3bea02c4774569e4b10.tar.gz puppet-resolvconf-c7eca077fdda063edc96d3bea02c4774569e4b10.tar.bz2 |
take hiera out of the params
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 950598e..c22c4ea 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -12,7 +12,11 @@ # the Free Software Foundation. # -class resolvconf { +class resolvconf( + $domain = $::domain, + $search = $::domain, + $nameservers = [ '8.8.8.8' ] +) { file{'/etc/resolv.conf': content => $::operatingsystem ? { openbsd => template("resolvconf/resolvconf.${::operatingsystem}.erb"), |