summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp6
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"),