From 2f983bc4253bf5ca7ee641c8db9e8ccd96c0401d Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Wed, 2 Jun 2010 11:45:37 -0500 Subject: 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 :( --- tests/sudoers/default.pp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/sudoers/default.pp (limited to 'tests/sudoers/default.pp') diff --git a/tests/sudoers/default.pp b/tests/sudoers/default.pp new file mode 100644 index 0000000..3383ad7 --- /dev/null +++ b/tests/sudoers/default.pp @@ -0,0 +1,9 @@ +# +# this should fail, cannot have a use called Defaults +# +sudoers{'BLAHDDD': + # could be a user named defaults + users => ['dan', 'Defaults'], + hosts => 'ALL', + commands => '/bin/ls -la' +} -- cgit v1.2.3