summaryrefslogtreecommitdiff
path: root/tests/sudoers/sudoers-delete.pp
blob: adaccbae5fec51f942e6ecf16b5df17365ec419a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
sudoers { 'BLAH1':
  target => '/tmp/sudoers',
  ensure => absent,
  sudo_alias => 'Cmnd_Alias',
  items => ['blah4', 'blah2'],
  type => 'alias',
}
sudoers { 'BLAH2':
  target => '/tmp/sudoers',
  ensure => absent,
  sudo_alias => 'Host_Alias',
  items => ['blah2', 'blah3'],
  type => 'alias',
}
sudoers { 'BLAH3':
  target => '/tmp/sudoers',
  ensure => absent,
  users => 'dan',
  hosts => 'localhost',
  commands => ['/bin/true', '/bin/false'],
  type => 'user_spec',
}