blob: 57942d99aadb05ecf9df111710a634a0cd793591 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# set a default exec path
Exec { path => '/usr/bin:/usr/sbin/:/bin:/sbin:/usr/local/bin:/usr/local/sbin' }
include site_config::setup
include site_config::default
$services = hiera('services', [])
$services_str = join($services, ', ')
notice("Services for ${fqdn}: ${services_str}")
if member($services, 'openvpn') {
include site_openvpn
include site_obfsproxy
}
if member($services, 'couchdb') {
include site_couchdb
include tapicero
}
if member($services, 'webapp') {
include site_webapp
include site_nickserver
}
if member($services, 'soledad') {
include soledad::server
}
if member($services, 'monitor') {
include site_nagios
}
if member($services, 'tor') {
include site_tor
}
if member($services, 'mx') {
include site_mx
}
if member($services, 'static') {
include site_static
}
if member($services, 'obfsproxy') {
include site_obfsproxy
}
include site_config::packages::uninstall
|