summaryrefslogtreecommitdiff
path: root/tests/sudoers-distinct.pp
diff options
context:
space:
mode:
authorDan Bode <bodepd@gmail.com>2010-11-02 08:35:47 -0500
committerDan Bode <bodepd@gmail.com>2010-11-02 08:35:47 -0500
commit487841f80bcf64152b9745161f1ff5a82d5b30cc (patch)
treeea11d2ee89962f683ecdd783978c97bc3515df9c /tests/sudoers-distinct.pp
parent09faa027acc029316a1ba486eb2e7daebd6b2719 (diff)
fixed some basic tests
Diffstat (limited to 'tests/sudoers-distinct.pp')
-rw-r--r--tests/sudoers-distinct.pp30
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/sudoers-distinct.pp b/tests/sudoers-distinct.pp
deleted file mode 100644
index fcfed9f..0000000
--- a/tests/sudoers-distinct.pp
+++ /dev/null
@@ -1,30 +0,0 @@
-# this will work for all resource types of sudoerd
-resources{'sudoers':
- purge => true,
-}
-sudo::alias{'BLAH1':
- #target => '/tmp/sudo',
- sudo_alias => 'Cmnd_Alias',
- items => ['/bin/blah', '/bin/blah4', '/bin/blah2'],
- require => Sudo::alias['BHAH2']
-}
-sudo::spec{'blah4':
- #target => '/tmp/sudoers',
- users => 'dan',
- hosts => 'localhost',
- commands => '/bin/true',
-}
-sudo::alias{'BLAH3':
- sudo_alias => 'Cmnd_Alias',
- items => ['/bin/blah', '/bin/blah4', '/bin/blah2'],
- before => Sudo::alias['BHAH2']
-}
-sudo::alias{'BHAH2':
- #target => '/tmp/sudoers',
- sudo_alias => 'Host_Alias',
- items => ['blah2', 'blah3', 'blah4', 'blah5'],
- require => Sudo::spec['blah4'],
-}
-sudo::defaults{'Defaults@host':
- parameters => ['x=y', 'one=1', 'two=2'],
-}