summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index eb0f6ff..950598e 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -14,8 +14,8 @@
class resolvconf {
file{'/etc/resolv.conf':
- content => $operatingsystem ? {
- openbsd => template("resolvconf/resolvconf.$operatingsystem.erb"),
+ content => $::operatingsystem ? {
+ openbsd => template("resolvconf/resolvconf.${::operatingsystem}.erb"),
default => template('resolvconf/resolvconf.erb'),
},
owner => root, group => 0, mode => 0444;