summaryrefslogtreecommitdiff
path: root/tests/sudo-bad.pp
diff options
context:
space:
mode:
authorDan Bode <dan@bodepd.com>2010-03-23 17:23:11 -0500
committerDan Bode <dan@bodepd.com>2010-03-23 17:23:11 -0500
commitfebe7a9d7597245284686e6c694fdb2645fa3262 (patch)
tree0578e7a7a5c5907bc78e4a03c4b6eb91f18e6061 /tests/sudo-bad.pp
parent50853b7018ecbfccf01870c37f5257f2c507c499 (diff)
minor changes to tests
Diffstat (limited to 'tests/sudo-bad.pp')
-rw-r--r--tests/sudo-bad.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/sudo-bad.pp b/tests/sudo-bad.pp
new file mode 100644
index 0000000..5c0aebc
--- /dev/null
+++ b/tests/sudo-bad.pp
@@ -0,0 +1,15 @@
+sudoers{'BLAH':
+ #target => '/tmp/sudoers',
+ ensure => present,
+ sudo_alias => 'Cmnd_Alias',
+ items => ['/bin/blah', '/bin/blah4', '/bin/blah2'],
+ require => Sudoers['Defaults@host']
+}
+sudoers{'Defaults@host':
+ parameters => ['x=y', 'one=1', 'two=2'],
+}
+sudoers{'TEST':
+ users => 'dan',
+ hosts => 'localhost',
+ commands => '/bin/true',
+}