Hello , Is there a reliable way to get the module name inside of a custom type and/or a provider? reliable in a sense that it works both when using puppet apply and also works on an agent.
What I've tried so far is to deducting the type name from the call stack and the source. This works when using Puppet Apply, but when you are running Puppet on an agent this doesn't work. The ruby code on the agent is a fl;at lib directory and all module structure is gone. Any suggestions would be welcome. Regards, Bert Hajee -- 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/d9daad3f-c239-4973-b632-4d7f71a70106%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.