From: mh Date: Tue, 5 Jun 2012 21:48:12 +0000 (-0300) Subject: new style for 2.7 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=22b82fc14911b4d3f15ecb9b763816bc2c1790fb;p=puppet-resolvconf.git new style for 2.7 --- 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;