summaryrefslogtreecommitdiff
path: root/tests/sudoers-classes.pp
blob: 4dd368a7a8eaf37c8e104b676021333328cea261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class parent {
  sudo::spec { 'blah4':
    #target => '/tmp/sudoers',
    users => 'dan',
    hosts => 'localhost',
    commands => '/bin/true',
  }
}

class child inherits parent {
  Sudo::Spec['blah4'] {
    users => 'child'
  }
}
include child