aboutsummaryrefslogtreecommitdiff
path: root/manifests/plug.pp
blob: e7f53de4766d1fa88f11aec9d205e1c3e76725e1 (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
29
30
class nodo::plug inherits nodo {
  include sshd
  include ntpdate
  include syslog-ng
  include utils::plug
  include firewall
  include sysctl

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

  # Monkeysphere configuration
  monkeysphere_host { "$hostname":
    port => $monkeysphere_ssh_port ? {
      false   => '',
      default => $monkeysphere_ssh_port,
    }
  }

  # DNS resolver
  $resolvconf_domain = "$domain"
  $resolvconf_search = "$fqdn"
  include resolvconf

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