summaryrefslogtreecommitdiff
path: root/tests/sudo-bad.pp
diff options
context:
space:
mode:
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',
+}