In Ubuntu 26.04 and probably other modern distros as well, the default sudo binary is now sudo-rs. This is causing a facter error:
Error: Facter: Error while resolving custom fact fact='sudoversion', resolution='<anonymous>': undefined method []' for nil:NilClass`
Could we please update the module so that it supports the new sudo as well?
In Ubuntu 26.04 and probably other modern distros as well, the default sudo binary is now sudo-rs. This is causing a facter error:
Error: Facter: Error while resolving custom fact fact='sudoversion', resolution='<anonymous>': undefined method[]' for nil:NilClass`Could we please update the module so that it supports the new sudo as well?