Hi all, could you advice how can I get path to the current env on the fs in custom function.
At the moment I do smth like module_path = Puppet::Module.find("my_module", compiler.environment.to_s).path env_path = module_path.sub("modules/my_module","") which is creepy a bit and does not work in Vagrant because of modules-\d Thank you. -- Best regards, Vasil Mikhalenya -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAPc4iSB7EmusuyuyJqywPWcg2qdG_%2B8gNGTQfYCVjrFEKFDkdA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.