From 9882c5ddb540ce1e36e7b72a47fe578abe79c9b4 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 11 Mar 2010 20:23:27 -0600 Subject: First commit for sudoers module. This doesnt work... yet. --- tests/sudoers.pp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/sudoers.pp (limited to 'tests/sudoers.pp') diff --git a/tests/sudoers.pp b/tests/sudoers.pp new file mode 100644 index 0000000..ee829d1 --- /dev/null +++ b/tests/sudoers.pp @@ -0,0 +1,21 @@ +sudoers{'blah1': + #target => '/tmp/sudoers', + ensure => present, + sudo_alias => 'Cmnd_Alias', + items => ['blah4', 'blah2'], + type => 'alias', +} +sudoers{'blah2': + #target => '/tmp/sudoers', + ensure => present, + sudo_alias => 'Host_Alias', + items => ['blah2', 'blah3'], + type => 'alias', +} +#sudoers{'blah3': +# target => '/tmp/sudoers', +# ensure => present, +# users => 'dan', +# hosts => 'localhost', +# type => 'spec', +#} -- cgit v1.2.3