blob: 56e76c9194be4fc5e9c90dd3f1d31ff861c1f4e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
class profiles::puppetagent (
Hash $extra_args = {},
) {
if defined(Class['profiles::puppetserver']) {
fail('Can only either be puppetagent or puppetserver (which is also a puppetagent), not both')
}
class { 'puppet':
server => false,
agent => true,
show_diff => true,
puppetmaster => $facts['extlib__puppet_config']['main']['server'],
* => $extra_args,
}
}
|