summaryrefslogtreecommitdiff
path: root/tests/sudoers/default.pp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sudoers/default.pp')
-rw-r--r--tests/sudoers/default.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/sudoers/default.pp b/tests/sudoers/default.pp
new file mode 100644
index 0000000..3383ad7
--- /dev/null
+++ b/tests/sudoers/default.pp
@@ -0,0 +1,9 @@
+#
+# this should fail, cannot have a use called Defaults
+#
+sudoers{'BLAHDDD':
+ # could be a user named defaults
+ users => ['dan', 'Defaults'],
+ hosts => 'ALL',
+ commands => '/bin/ls -la'
+}