blob: 98e683af34bc04c002c5f2c9a18568b1847549b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
define print() {
notice("The value is: '${name}'")
}
node 'default' {
$concat_basedir = '/var/lib/puppet/modules/concat'
include concat::setup
$services=hiera_array('services')
notice("Services for $fqdn: $services")
if 'eip' in $services {
$tor=hiera('tor')
notice("Tor enabled: $tor")
$openvpn_config=hiera('openvpn')
create_resources('site_openvpn::server_config', $openvpn_config)
}
}
|