How can I exec a script stored in a module?
I have a module where I want to execute a program, but only if a script that I have returns zero. Is it possible to put this script inside the module and call it? I've tried using
onlyif => "puppet:///modules/mymodule/thescript" with the script store under files.