Displaying 1 result from an estimated 1 matches for "real_docroot".
2009 Oct 24
5
BUG? $name inside a definition 'method signature' different to within a body ?
If I have something like this:
----------------------------------------
define bar($thing="/tmp/$name") {
file { $thing: ensure => present }
}
class foo { somedef{ "bar": } }
----------------------------------------
puppet will try to create a file called ''/tmp/foo'' , not /tmp/bar.
It seems like if I try to access $name inside the ''default