diff options
author | mh <mh@immerda.ch> | 2012-06-05 18:48:12 -0300 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-06-05 18:48:12 -0300 |
commit | 22b82fc14911b4d3f15ecb9b763816bc2c1790fb (patch) | |
tree | b93db1f0821fa15ba6a94d2257cc06315efdafe7 | |
parent | b8d3cf105e88fcde1f94392206f62a9f68763fe3 (diff) | |
download | puppet-resolvconf-22b82fc14911b4d3f15ecb9b763816bc2c1790fb.tar.gz puppet-resolvconf-22b82fc14911b4d3f15ecb9b763816bc2c1790fb.tar.bz2 |
new style for 2.7
-rw-r--r-- | manifests/init.pp | 4 |
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; |