Re: [Puppet Users] Variables syntax

2011-10-19 Thread Arnau Bria
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

Re: [Puppet Users] Variables syntax

2011-10-19 Thread Henrik Lindberg
$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

[Puppet Users] Variables syntax

2011-10-17 Thread Martijn Grendelman
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