summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat+gitlab@anarc.at>2015-07-31 14:50:53 +0000
committerAntoine Beaupré <anarcat+gitlab@anarc.at>2015-07-31 14:50:53 +0000
commit3375d5a5e295bdd64f3af1f27159f49fd6be868e (patch)
tree323fb366de625ccb7240c63d17876ac83f5ee034
parent815ed9990397b5ec8486e69f22c018175ab7926c (diff)
parent50968d62a05d1a717c87dca16208ce71f07d3ee8 (diff)
Merge branch 'default_value' into 'master' HEADmaster
we should set tail to undef by default, so the module can be used without needing to set that option See merge request !2
-rw-r--r--manifests/init.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index c682bfa..b7f8c47 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -14,10 +14,10 @@
#
class resolvconf(
- $domain = $::domain,
- $search = $::domain,
+ $domain = $::domain,
+ $search = $::domain,
$nameservers = [ '8.8.8.8' ],
- $tail,
+ $tail = undef,
) {
$content = $::operatingsystem ? {
openbsd => template("resolvconf/resolvconf.${::operatingsystem}.erb"),