diff options
author | root <root@collector.localdomain> | 2010-03-11 20:23:27 -0600 |
---|---|---|
committer | root <root@collector.localdomain> | 2010-03-11 20:23:27 -0600 |
commit | 9882c5ddb540ce1e36e7b72a47fe578abe79c9b4 (patch) | |
tree | cd117f327dd1d37526edc7a906aaa96d3db210cd /tests/sudoers.pp |
First commit for sudoers module.
This doesnt work... yet.
Diffstat (limited to 'tests/sudoers.pp')
-rw-r--r-- | tests/sudoers.pp | 21 |
1 files changed, 21 insertions, 0 deletions
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', +#} |