blob: 12d7171d5af76b3981dc2c3ea7bef28ae6f95cae (
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
39
40
|
class nodo::base {
# First include the LSB class
include lsb
# Then include our subsystems
include nodo::subsystem::sudo
include nodo::subsystem::locales
include nodo::subsystem::profile
include nodo::subsystem::apt
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', 'nodo::subsystem::motd' ]: }
# Common utilities
include nodo::utils
# Other modules
include tunnel::autossh
include domain_check
include concat::setup
include cron
# Include admin accounts if you have this class
if defined('users:admin') {
include users::admin
}
# Puppet daemon
class { 'puppet::daemon':
master => hiera('nodo::role::master::main', false)
}
# Does not work well inside vservers
class { 'runit': ensure => absent }
}
|