diff options
author | Dan Bode <dan@bodepd.com> | 2010-06-02 11:45:37 -0500 |
---|---|---|
committer | Dan Bode <dan@bodepd.com> | 2010-06-02 11:45:37 -0500 |
commit | 2f983bc4253bf5ca7ee641c8db9e8ccd96c0401d (patch) | |
tree | 918f2948c98b4fc4f84f4d2f9a42dadb3d717a5f /tests/sudoers/blah.pp | |
parent | 37099d6d140f073522f9f9b37ba2a9b429433f25 (diff) |
Committing all of the tests that I ran to validate the behavior of the sudoers type. I understand they are not proper unit tests. sorry :(
Diffstat (limited to 'tests/sudoers/blah.pp')
-rw-r--r-- | tests/sudoers/blah.pp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/sudoers/blah.pp b/tests/sudoers/blah.pp new file mode 100644 index 0000000..0f30782 --- /dev/null +++ b/tests/sudoers/blah.pp @@ -0,0 +1,10 @@ +#resources { 'sudoers': purge => true } + +sudoers{'BLAHDDD': + # could be a user named defaults + users =>['dan','bob', 'joe'], + hosts => 'ALL', + commands => '/bin/ls -la', + type => 'user_spec', + comment => 'my comment' +} |