aboutsummaryrefslogtreecommitdiff
path: root/manifests/base/plug.pp
blob: 9c386ca3864e34e8a6a3e48b7f472f34ad47e5d3 (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 { [ 'ntpdate', 'firewall' ]: }

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

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

  # Munin configuration
  munin_node { "${::hostname}":
    port => '4900',
  }
}