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

Re: [Puppet Users] Variables syntax

2011-10-19 Thread Arnau Bria
Sent to early :-) source => $::operatingsystem ? { *without quotes. > Isn't that supposed to work? > > Best regards, > Martijn Grendelman HTH, Arnau -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pupp

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 doe