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/blah.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/sudoers/blah.pp (limited to 'tests/sudoers/blah.pp') 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' +} -- cgit v1.2.3