Using version 4.1.0 of the module, I noticed that the execute statement exec {"sudo-syntax-check for file ${cur_file}": results in the following puppet error:
Could not find command 'visudo'.
I believe this is due to the fact that, on FreeBSD, the command visudo is installed into '/usr/local/sbin' and the execute path is set to only '/bin', '/sbin', '/usr/bin', '/usr/sbin'.
Using version 4.1.0 of the module, I noticed that the execute statement
exec {"sudo-syntax-check for file ${cur_file}":
results in the following puppet error:Could not find command 'visudo'
.I believe this is due to the fact that, on FreeBSD, the command visudo is installed into '/usr/local/sbin' and the execute path is set to only '/bin', '/sbin', '/usr/bin', '/usr/sbin'.