Closed nodoubleg closed 10 years ago
I sort of feel that the default paths should be in your site.pp? As I think you would want to set this globally?
If you think it should go in this module, can I change the defaults to:
Exec { path => "/usr/bin:/usr/sbin/:/bin:/sbin" }
Our security team has an issue with paths pointing to /usr/local/bin /usr/local/sbin.
I have update the readme file with a requirement for a default Exec to be set in the site.pp
https://github.com/mkrakowitzer/puppet-deploy/commit/f449f134e006e12610140d99d877b06e50c42217
Let me know if you think this is acceptable?
Added this as a default, was catching a lot of people out.
deploy::file out of the box throws path errors unless the user defines a default path for the Exec type elsewhere. A sane default should be provided here.