[Puppet Users] Re: ldap node attributes containing dash ( - )

2010-05-07 Thread donavan
On May 7, 1:16 pm, "Jesús M. Navarro" wrote: > Won't use the ${variable-name} version do the trick? > Cheers. I tried that initially, but it wouldn't pass --parseonly (.24.8) so I didn't commit it. Let me check manually.. Yeah, parseonly and actual catalog compilation both fail: err: Could not p

Re: [Puppet Users] Re: ldap node attributes containing dash ( - )

2010-05-07 Thread Jesús M. Navarro
On Friday 07 May 2010 19:54:18 donavan wrote: > On May 6, 4:31 pm, donavan 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 variabl

[Puppet Users] Re: ldap node attributes containing dash ( - )

2010-05-07 Thread donavan
On May 6, 4:31 pm, donavan 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 t

[Puppet Users] Re: ldap node attributes containing dash ( - )

2010-05-07 Thread donavan
On May 6, 5:46 pm, Trevor Vaughan wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I don't think that ruby itself allows variables with dashes in the name > since it will probably interpret them as minus signs and try to > interpret the variables around the symbol. Right. Which is why