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