summaryrefslogtreecommitdiff
path: root/tests/sudoers/test-alias-user.pp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sudoers/test-alias-user.pp')
-rw-r--r--tests/sudoers/test-alias-user.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/sudoers/test-alias-user.pp b/tests/sudoers/test-alias-user.pp
new file mode 100644
index 0000000..69fabdd
--- /dev/null
+++ b/tests/sudoers/test-alias-user.pp
@@ -0,0 +1,12 @@
+#sudoers{'BLAH4':
+# sudo_alias => 'Runas_Alias',
+# items => 'root',
+#}
+sudoers{'BLAH4':
+ #target => '/tmp/sudoers',
+ ensure => present,
+ users => ['dan', 'dan4', 'dan3'],
+ hosts => ['localhost', 'localhost2'],
+ commands => ['/bin/true blah', '/bin/false de', '/bin/duder/dude blah'],
+ type => 'spec'
+}