aboutsummaryrefslogtreecommitdiff
path: root/manifests/plug.pp
blob: 913ab6be7023b064b96e7c0462857565a04dcb02 (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
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 => $sshd_password_authentication,
    shared_ip               => $sshd_shared_ip,
    tcp_forwarding          => $sshd_tcp_forwarding,
    hardened_ssl            => $sshd_hardened_ssl,
    print_motd              => $sshd_print_motd,
    ports                   => $sshd_ports,
    use_pam                 => $sshd_use_pam,
  }

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

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