summaryrefslogtreecommitdiff
path: root/tests/sudoers-classes.pp
blob: f1bc59e56e5215954d088c32d57f46d9b7c051ae (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 {
  Sudoers['blah4'] {
    users => 'child'
  }
}
include child