On May 6, 4:31 pm, donavan <dona...@desinc.net> wrote:
> Am I missing some clever way to use variables containing a dash in the
> name?
>
> We're using LDAP nodes I may have a node like this example:
..
> And I'd like to access 'console-port' as a variable in a manifest.

Reading over I realize this may not be clear to people not using
LdapNodes[1]. "All attributes on the LDAP nodes are assigned as
variables in the Puppet configuration". This gives you puppet
variables like $ipHostNumber for free.

I have an LDAP attribute I need to check from inside my manifest. The
issue is the attribute name contains a dash. So I can't use the
regular semantics of $<attribute name> to access it. Any way to get
this attribute without a hacky function/template?

[1] http://projects.puppetlabs.com/projects/puppet/wiki/Ldap_Nodes

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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