This is a silly question that will take to guys like Henrik less than a nanosecond to reply, I suppose, but I'm struggling hard with this and haven't found a way out.
I need to get the value of the compiler variable module_name from within a Puppet 4 function. I've tried various approach, the one most resembling the approach in Puppet 3 function is: mod = closure_scope['module_name'] but it doesn't work. Any hint? Your nanosecond is worth at least a sunday afternoon of mine. al -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/f8d3b2bd-d4e2-40da-b8af-0a67b38ce8f7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
