Since there is a few different times where visudo is not in the default path, exposing it as a parameter of the sudo::conf class allows it to be specified if needed in puppet files without touching the module. PR #178 mentions FreeBSD, and have also seen incidents with Solaris, so I think opening this up to be changed is the better direction, while keeping the current value the default.
Since there is a few different times where visudo is not in the default path, exposing it as a parameter of the sudo::conf class allows it to be specified if needed in puppet files without touching the module. PR #178 mentions FreeBSD, and have also seen incidents with Solaris, so I think opening this up to be changed is the better direction, while keeping the current value the default.