aboutsummaryrefslogtreecommitdiff
path: root/manifests/plug.pp
blob: a67c50e52b3a24020f5cceab188584cdb0bfa28a (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 => $ssh_password_authentication,
    shared_ip               => $ssh_shared_ip,
    tcp_forwarding          => $ssh_tcp_forwarding,
    hardened_ssl            => $ssh_hardened_ssl,
    print_motd              => $ssh_print_motd,
    ports                   => $sshd_ports,
    use_pam                 => $sshd_use_pam,
  }

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

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