diff options
Diffstat (limited to 'tests/sudoers/all.pp')
-rw-r--r-- | tests/sudoers/all.pp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/sudoers/all.pp b/tests/sudoers/all.pp new file mode 100644 index 0000000..7ac44de --- /dev/null +++ b/tests/sudoers/all.pp @@ -0,0 +1,22 @@ +Sudoers{type => 'user_spec'} +resources { 'sudoers': + purge => true, +} +sudoers{ 'ID1': + users => 'mike', + commands => '(ALL) ALL', + hosts => 'ALL', + comment => 'pimp my comment', + #ensure => absent, +} +sudoers{ 'ID2': + users => 'dan', + commands => '(ALL) ALL', + hosts => 'ALL', + comment => 'comment2', +} +sudoers{ 'ID3': + users => 'bill', + commands => '(ALL) ALL', + hosts => 'ALL', +} |