Displaying 1 result from an estimated 1 matches for "__myscript".
2012 Dec 27
3
generate() function help
Hi.
I want to run script which is distributed with my module, but the
problem is I have to then hardcode the path to the script in the
generate function call, for example:
generate("/etc/puppet/environments/${environment}/modules/mymodule/scripts/myscript")
But what If some other site uses other path to their modules, or doesn''t
use environments at all? Is it possible