From c7eca077fdda063edc96d3bea02c4774569e4b10 Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 14 Jun 2012 12:00:43 -0300 Subject: take hiera out of the params --- manifests/init.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'manifests') 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"), -- cgit v1.2.3