Well you can use calling_module and also all the variables defined in 
http://docs.puppetlabs.com/puppet/latest/reference/lang_variables.html#facts-and-built-in-variables

Not sure why calling_module is not there at the moment. There might
be two reasons for this:
* it is more experimental
* it is older and $caller_module_name should be used instead(look at the
link)

Maybe someone can step in and make this more clear to both of us ;)

-- 
Nikola

On Thu, Feb 21, 2013 at 09:20:57PM +0530, Francis Pereira wrote:
> Thanks Nikola. I didn't know that variable exists. Is there a list of
> all available variables somewhere ?
> 
> ~Francis
> 
> On Feb 21, 2013, at 8:49 PM, Nikola Petrov <nikol...@gmail.com> wrote:
> 
> > Nikola
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to puppet-users+unsubscr...@googlegroups.com.
> To post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to