aboutsummaryrefslogtreecommitdiff
path: root/templates/puppet/site.pp.erb
blob: bc413aadc3090a5d739c0ef911e116ceefbfbf60 (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
#
# Puppet site configuration.
#
import "classes/users.pp"
import "classes/websites.pp"
import "modules.pp"
import "nodes.pp"

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

# Fileserver backup
filebucket { server: server => "admin.<%= domain %>" }
File { backup => server }

# General configuration
$network_name = '<%= domain %> cloud'

# MySQL password
$mysql_rootpw = '<%= mysql_rootpw %>'

# Puppetmaster db password
$puppetmaster_db_password = '<%= puppetmaster_db_password %>'

# OpenDNS nameservers in case we need on DNS outages
$opendns_nameservers = '208.67.222.222:208.67.220.220'

# Munin
$global_munin_allow = '192.168.0.[0-9]*'

# We want puppet to manage it's certificates
$puppetmaster_manage_ca = false

# Reprepro
#$reprepro_uploaders = [ '' ]

# Mail configuration
#$root_mail_recipient = 'messages@lists.project'
#$postfix_mynetworks  = '127.0.0.0/8, 192.168.0.0/28'
#$postfixadmin_database_password = ''
#$postfixadmin_setup_hash = ''
#$sympa_database_password = ''
#$sympa_listmasters = 'user1@domain.org, user2@domain.org'