evertrue / exhibitor-cookbook

Cookbook for Netflix Exhibitor
Other
16 stars 27 forks source link

gradle command not found and permission denied on CIS hardened systems #31

Closed vanwho closed 8 years ago

vanwho commented 8 years ago

If /usr/local/bin is not part of PATH, the gradle call will fail.

since line 43 of exhibitor::gradle hardcodes '/usr/local/bin/gradle', I believe we should explicitly set it in the exhibitor::_exhibitor_build command also, so we do not need to additionally modify $PATH when necessary.

specifically using sh to run the command avoids some permission issues on hardened systems, as well (CIS, for instance).

vanwho commented 8 years ago

solved!