summaryrefslogtreecommitdiff
path: root/tests/sudoers/sudoers-fakenamevar.pp
diff options
context:
space:
mode:
authorDan Bode <dan@puppetlabs.com>2010-10-11 08:31:37 -0700
committerDan Bode <dan@puppetlabs.com>2010-10-11 08:31:37 -0700
commit350a018958865d68b503b7ee62d60cd2704a41a0 (patch)
tree64b9bb586d36caa5f0790adb2f55af878867ed1a /tests/sudoers/sudoers-fakenamevar.pp
parentbefb480da0c4ebb442e4a0581216a037885aa546 (diff)
modified unit tests.
Diffstat (limited to 'tests/sudoers/sudoers-fakenamevar.pp')
-rw-r--r--tests/sudoers/sudoers-fakenamevar.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/sudoers/sudoers-fakenamevar.pp b/tests/sudoers/sudoers-fakenamevar.pp
new file mode 100644
index 0000000..6208a17
--- /dev/null
+++ b/tests/sudoers/sudoers-fakenamevar.pp
@@ -0,0 +1,13 @@
+resources { 'sudoers':
+ purge => true,
+}
+sudoers{'fake_namevar_23':
+ ensure => present,
+ users => ['dan1', 'dan2'],
+ hosts => 'ALL',
+ commands => [
+ '(root) /usr/bin/su - easapp',
+ '(easapp)/usr/local/eas-ts/bin/appctl',
+ ],
+ type => 'user_spec',
+}