summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-06-05 18:48:12 -0300
committermh <mh@immerda.ch>2012-06-05 18:48:12 -0300
commit22b82fc14911b4d3f15ecb9b763816bc2c1790fb (patch)
treeb93db1f0821fa15ba6a94d2257cc06315efdafe7
parentb8d3cf105e88fcde1f94392206f62a9f68763fe3 (diff)
downloadpuppet-resolvconf-22b82fc14911b4d3f15ecb9b763816bc2c1790fb.tar.gz
puppet-resolvconf-22b82fc14911b4d3f15ecb9b763816bc2c1790fb.tar.bz2
new style for 2.7
-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;