Re: [Puppet Users] Puppet environment can't be used in extlookup (precedence)

2011-09-19 Thread Marcello de Sousa
It looks like this problem is related to the use of ENC and to the extremely-annoying-more-than-one-year-old #3910 bug :( I wonder what people are doing as a viable workaround. I know the Nokia guys solved it with a hack detecting the environment discrepancy it in their ENC but I don't know the co

Re: [Puppet Users] Puppet environment can't be used in extlookup (precedence)

2011-04-22 Thread Marcello de Sousa
Tested with 2.6.7-1 I'll try to reproduce it with 2.6.6 On Fri, Apr 22, 2011 at 12:22 PM, R.I.Pienaar wrote: > > > - Original Message - >> This is bugging me for a couple of days now as I don't seem to find a >> reasonable explanation for the different behavior on the 2 puppet >> variabl

Re: [Puppet Users] Puppet environment can't be used in extlookup (precedence)

2011-04-22 Thread R.I.Pienaar
- Original Message - > This is bugging me for a couple of days now as I don't seem to find a > reasonable explanation for the different behavior on the 2 puppet > variables. Not sure if it's a puppet issue or an extlookup issue (or > maybe my own issue). your example looks fine, and it w

Re: [Puppet Users] Puppet environment can't be used in extlookup (precedence)

2011-04-22 Thread Marcello de Sousa
This is bugging me for a couple of days now as I don't seem to find a reasonable explanation for the different behavior on the 2 puppet variables. Not sure if it's a puppet issue or an extlookup issue (or maybe my own issue). Help ? :) On Wed, Apr 20, 2011 at 12:25 AM, Marcello de Sousa wrote: >

[Puppet Users] Puppet environment can't be used in extlookup (precedence)

2011-04-19 Thread Marcello de Sousa
Anyone able to explain why "$fqdn" works and "$environment" doesn't in: $extlookup_precedence=["%{fqdn}","%{environment}","common"] How to reproduce it: - - In "/etc/puppet/manifests/site.pp" : $extlookup_datadir = "/etc/puppet/manifests/extdata" $extlookup_precedenc