summaryrefslogtreecommitdiff
path: root/files/puppet/modules/custom/manifests/init.pp
blob: b5f3f2ad1dc89e7808bbad3d518876a07e9d47e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Customization init class
class custom {
  include site_config::setup
  include site_config::default

  $services = hiera('services', [])

  include custom_munin_node
  include custom_shorewall::munin_node

  # packages we want to install on every server
  ensure_packages (['iotop', 'vim', 'tmux'])

  if member ( $services, 'openvpn') {
    include custom_munin_node::openvpn
  }

  if member ( $services, 'pixelated') {
    include pixelated::dispatcher
  }
}