Mercurial > repos > other > Puppet
diff modules/python/manifests/venv/isolate.pp @ 20:393acb5f672d puppet-3.6
Fix bad practice of using variable incorrectly, which raises a warning in 3.6
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 08 Mar 2015 20:48:03 +0000 |
parents | 956e484adc12 |
children |
line wrap: on
line diff
--- a/modules/python/manifests/venv/isolate.pp Sun Mar 08 20:47:27 2015 +0000 +++ b/modules/python/manifests/venv/isolate.pp Sun Mar 08 20:48:03 2015 +0000 @@ -8,7 +8,7 @@ if $ensure == 'present' { # Parent directory of root directory. /var/www for /var/www/blog - $root_parent = inline_template("<%= root.match(%r!(.+)/.+!)[1] %>") + $root_parent = inline_template("<%= @root.match(%r!(.+)/.+!)[1] %>") if !defined(File[$root_parent]) { file { $root_parent: