aboutsummaryrefslogtreecommitdiff
path: root/manifests/base/plug.pp
blob: 6add09c1b191db626688a36b81a57c7128c1f5b3 (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
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':
      type => 'host',
    }
  }

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