aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
blob: d8155b6fb16ae017b98ea2d6c52d9fcc0d5f9a27 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#
# Nodo module.
#

# Default execution path
Exec { path => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" }

# Fileserver backup
filebucket { server: server => hiera('puppet::daemon::server', "puppet.${::domain}") }
File { backup => server }

# Set role and location variables: this is a trick so we can use role and location
# in Hiera's hierarchical config.
$role     = hiera('nodo::role', 'default')
$location = hiera('nodo::role', 'default')

# Import required modules
import "common"
import "sshd"
import "puppet"
import "backupninja"
import "nginx"
import "git"
import "syslog-ng"
import "backup"
import "apt"
import "inetd"
import "exim"
import "user"
import "ntp"
import "apache"
import "munin"
import "virtual"
import "monkeysphere"
import "pear"
import "drupal"
import "resolvconf"
import "websvn"
import "ikiwiki"
import "moin"
import "mysql"
import "trac"
import "apcupsd"
import "cron"
import "smartmontools"
import "pmwiki"
import "php"
import "tor"
import "postfix"
import "reprepro"
import "ssl"
import "autossh"
import "nagios"
import "mail"
import "shorewall"
import "ekeyd"
import "lsb"
import "viewvc"
import "dhcp"
import "bind"
import "wordpress"
import "etherpad"
import "qwebirc"
import "hotglue"
import "ejabberd"
import "mumble"
import "mpd"
import "bitcoind"
import "rsync"
import "runit"
import "autofs"
import "concat"
import "supervisor"
import "supybot"
import "lighttpd"
import "minidlna"
import "samba"
import "tftp"
import "nfs"
import "pureftpd"
import "avahi"
import "daap_server"
import "infinoted"
import "database"
import "domain_check"
import "firewall"
import "schroot"
import "onion"
import "tunnel"
import "pyroscope"
import "websites"

# Nodo class
import "nodo.pp"

# Definitions
import "defines/monkeysphere_host.pp"
import "defines/munin_node.pp"
import "defines/ssh_config.pp"
import "defines/ssh_create_key.pp"
import "defines/ssh_known_hosts.pp"