diff options
author | Dan Bode <dan@puppetlabs.com> | 2010-10-11 08:31:37 -0700 |
---|---|---|
committer | Dan Bode <dan@puppetlabs.com> | 2010-10-11 08:31:37 -0700 |
commit | 350a018958865d68b503b7ee62d60cd2704a41a0 (patch) | |
tree | 64b9bb586d36caa5f0790adb2f55af878867ed1a /tests/sudoers/sudoers-fakenamevar.pp | |
parent | befb480da0c4ebb442e4a0581216a037885aa546 (diff) |
modified unit tests.
Diffstat (limited to 'tests/sudoers/sudoers-fakenamevar.pp')
-rw-r--r-- | tests/sudoers/sudoers-fakenamevar.pp | 13 |
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', +} |