summaryrefslogtreecommitdiff
path: root/tests/sudoers/sudo-bad.pp
blob: 4bca785fba230ac29623e1a8c12fb4f36aa1d3b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
sudoers{'BLAH':
  #target => '/tmp/sudoers',
  ensure => present,
  sudo_alias => 'Cmnd_Alias',
  items => ['/bin/blah3', '/bin/blah4', '/bin/blah2'],
  require => Sudoers['Defaults@host'],
  type => 'alias',
}
sudoers{'Defaults@host':
  parameters => ['x=z', 'one=1', 'two=2'],
  type => 'default',
}
sudoers{'TEST':
  users => 'dan1',
  hosts => 'localhost',
  commands => '/bin/true',
  type => 'user_spec',
}