On Mon, 17 Oct 2011 17:53:39 +0200
Martijn Grendelman wrote:
Hi,
Hi,
[...]
These give me errors like:
Could not parse for environment production: Could not match
${::operatingsystem} at...
Where are you setting those vars?
I've seen that, on 2.6, setting those vars in selectors does
$operatingsystem
$operatingsystem
${operatingsystem}
${operatingsystem}
Produce exactly the same thing.
One would assume that the short forms for expression interpolation i.e.:
${operatingsystem}
$operatingsystem
would recognize an initial empty namespace (i.e. ::operatingsystem).
If not, I
Hi,
I am trying to combine some rules from
http://docs.puppetlabs.com/learning/variables.html:
1. Top scope variables are the same, but their scope is nameless. (For
example: $::top_scope_variable.)
2. To distinguish a ${variable} from the surrounding text, you should wrap
its name in curly