aboutsummaryrefslogtreecommitdiff
path: root/manifests/base/plug.pp
blob: 49d9f8d82801a683b3e4bd740daad6cc00c47f9b (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
class nodo::base::plug {
  include syslog-ng
  include nodo::utils::plug
  include nodo::utils::physical
  include nodo::subsystem::sysctl
  include nodo::subsystem::resolver

  nodo::subsystem::monkeysphere { "${::hostname}": }

  class { [ 'ntp::ntpdate', 'firewall' ]: }

  # Backup
  backupninja::sys { "sys":
    ensure     => present,
  }

  # Monitoring
  if !defined(Class['nodo::subsystem::monitor']) {
    class { 'nodo::subsystem::monitor': }
  }

  # Munin configuration
  nodo::subsystem::monitor::munin { "${::hostname}":
    port => '4900',
  }
}