summaryrefslogtreecommitdiff
path: root/tests/sudoers-delete.pp
blob: 3085a63906cecaf1df273deab860e20fce7126df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
sudoers{'blah1':
  target => '/tmp/sudoers',
  ensure => absent,
  alias => 'Cmnd_Alias',
  items => ['blah4', 'blah2'],
  linetype => 'alias',
}
#sudoers{'blah2':
#  target => '/tmp/sudoers',
##  ensure => present,
#  alias => 'Host_Alias',
#  items => ['blah2', 'blah3'],
#  type => 'alias',
#}
##sudoers{'blah3':
#  target => '/tmp/sudoers',
##  ensure => present,
#  users => 'dan',
#  hosts => 'localhost',
#  type => 'spec',
#}