windowsrefund/puppet-sudoers — pull request #1 by mcrute (2011-10-19 03:31:40+00:00)
Title: Please pull my changes

Thanks for building this module, it saved me a lot of time putting something together myself. I got it up and running on puppet 2.7.3 which required some changes to the manifests and ruby code. Here's what I did:

* Add the leading % to the group name in the manifest otherwise puppet loses track of the group and adds it to the sudoers file every time you apply the manifest. This also dropped the isgroup option
* Added support for ubuntu since it's compatible with debian
* Made "ALL" the default commands since I theorize that this is a general use-case for commands and reduces repetition within manifests
* Forced an install of the sudo package before realizing the package to avoid the need to declare the package in your site manifest before using the sudoers module
* Changed the name of the nopasswd field in the provider to squelch warnings about the nopasswd column changing on every apply due to name collision
* Some other minor cleanups to work around minor issues

Please pull my changes. Thanks!