Oh my, you were relying on actual buggy behavior.

https://projects.puppetlabs.com/issues/22800

Ah, the memories... :-)

Cheers,
Felix

On 08/12/2015 09:00 AM, Martin Alfke wrote:
> Hi Ryan,
> On 11 Aug 2015, at 19:22, Ryan Whitehurst <r...@puppetlabs.com> wrote:
> 
>> > 
>> > Martin Alfke writes:
>> > 
>>> >> How can I access the variable from the first define? I can change the 
>>> >> second define to have another parameter so it knows about the template 
>>> >> variable. Is there any other solution available?
>> > It's not exactly the same, but this works now, using EPP instead of ERB: 
> Many thanks for pointing to EPP.
> We can not yet switch to EPP.
> We want our example42 modules to be compatible with puppet 3 and 4 and will 
> do a version bump very soon offering new language features..
> 
> Besides this:
> when I saw this construct (accessing variables from another module(!! sic)) 
> my in-brain puppet parser already went nuts.
> I decided to add the variable as parameter which makes it now far more clear 
> where the value is taken from.
> 
> Best,
> Martin
> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/55CB3699.2030805%40alumni.tu-berlin.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to