aboutsummaryrefslogtreecommitdiff
path: root/manifests/plug.pp
blob: 37c69c52e49205611d04cd43d60358c6bbe5d5db (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
class nodo::plug inherits nodo {
  include ntpdate
  include syslog-ng
  include utils::plug
  include firewall
  include sysctl
  include resolver
  include monkeysphere_nodo

  class { 'sshd':
    listen_address          => $sshd_listen_address,
    password_authentication => $ssh_password_authentication,
    shared_ip               => $ssh_shared_ip,
    tcp_forwarding          => $ssh_tcp_forwarding,
    hardened_ssl            => $ssh_hardened_ssl,
    print_motd              => $ssh_print_motd,
  }

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

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