summaryrefslogtreecommitdiff
path: root/tests/sudoers/all.pp
blob: 7ac44de86a614afba87171204ff9c00910c4b16a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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', 
}