aboutsummaryrefslogtreecommitdiff
path: root/manifests/base/plug.pp
blob: b71b6482c4a727b7d43dff44223c4fa5b6719e26 (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

  monkeysphere_host { "${::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',
  }
}