aboutsummaryrefslogtreecommitdiff
path: root/manifests/base.pp
blob: ba292fae0fb5bc5af3abee455ee54c4e48c63822 (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
31
32
33
34
35
36
37
38
class nodo::base {
  # First include the LSB class
  include lsb

  # Then include our subsystems
  include nodo::subsystem::security
  include nodo::subsystem::apt
  include nodo::subsystem::sudo
  include nodo::subsystem::locales
  include nodo::subsystem::screen
  include nodo::subsystem::screen::startup
  include nodo::subsystem::backup
  include nodo::subsystem::mail
  include nodo::subsystem::sshd
  include nodo::subsystem::hostname
  include nodo::subsystem::local

  # Declare subsystem classes
  class { 'nodo::subsystem::hosts': }
  class { 'nodo::subsystem::motd': }

  # Syslog facility
  include rsyslog

  # Common utilities
  include nodo::utils

  # Other modules
  include concat::setup
  include cron
  include shellprompt
  include augeas

  # Require admin accounts' class
  if (defined(site_users::admin)) {
    include site_users::admin
  }
}