blob: f7b7303f42a8c4c8a28c865663fd1e364039c4dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
node 'default' {
# $concat_basedir = '/var/lib/puppet/modules/concat' # do we need this ?
include concat::setup
$services=hiera_array('services')
notice("Services for $fqdn: $services")
if 'eip' in $services {
include site_openvpn
$tor=hiera('tor')
notice("Tor enabled: $tor")
$openvpn_configs=hiera('openvpn_server_configs')
create_resources('site_openvpn::server_config', $openvpn_configs)
}
}
|