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 braces.

So, to get a fact, I was writing:

  ${::operatingsystem}

To get a global var from site.pp, I was writing:

  ${::firewall_etc}

These give me errors like:

  Could not parse for environment production: Could not match
${::operatingsystem} at...


Isn't that supposed to work?

Best regards,
Martijn Grendelman

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to