more test manifests
authorDan Bode <dan@bodepd.com>
Tue, 16 Mar 2010 11:45:17 +0000 (06:45 -0500)
committerDan Bode <dan@bodepd.com>
Tue, 16 Mar 2010 11:45:17 +0000 (06:45 -0500)
tests/sudoers-break-test.pp [new file with mode: 0644]
tests/test-alias-user.pp [new file with mode: 0644]

diff --git a/tests/sudoers-break-test.pp b/tests/sudoers-break-test.pp
new file mode 100644 (file)
index 0000000..dd52f63
--- /dev/null
@@ -0,0 +1,5 @@
+sudoers{'blah4':
+  sudo_alias => 'Runas_Alias',
+  items => 'root',
+  command => '/bin/true'
+}
diff --git a/tests/test-alias-user.pp b/tests/test-alias-user.pp
new file mode 100644 (file)
index 0000000..a53c0b2
--- /dev/null
@@ -0,0 +1,11 @@
+#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'],
+}