This repository has been archived by the owner on Jan 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
secrets.pp.template
179 lines (165 loc) · 5.41 KB
/
secrets.pp.template
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
# Rename this to secrets.pp and put in all your secrets!
class secrets {
$cltbld_password = 'crypted'
case $hostanme {
/^(mac-)?signing.+$/: {
case $operatingsystem {
Darwin: {
$root_password = 'crypted'
}
default: {
$root_password = 'crypted'
}
}
}
default: {
$root_password = 'crypted'
}
}
case $operatingsystem {
Darwin: {
$cltsign_password = 'crypted'
}
default: {
$cltsign_password = 'crypted'
}
}
$buildbot_schedulerdb_host = 'host'
$buildbot_schedulerdb_user = 'buildbot'
$buildbot_schedulerdb_password = 'seeeecret'
$buildbot_schedulerdb_database = 'buildbot'
$buildbot_statusdb_host = 'host'
$buildbot_statusdb_user = 'buildbot'
$buildbot_statusdb_password = 'seeeecret'
$buildbot_statusdb_database = 'buildbot'
$pulse_username = 'public'
$pulse_password = 'public'
$pulse_exchange = 'org.mozilla.exchange.pulse.test'
$talos_oauth_key = 'public'
$talos_oauth_secret = 'public'
$jetperf_oauth_key = 'public'
$jetperf_oauth_secret = 'public'
$buildmaster_secrets = "{
'nightly-signing': [
('signingmachine:port', 'username', 'password'),
],
'dep-signing': [
('signingmachine:port', 'username', 'password'),
],
'release-signing': [
('signingmachine:port', 'username', 'password'),
],
}"
### Pip
## (if applicable, pip.conf will be created for this user)
case $hostname {
/^(mac-)?signing.+$/: {
$pip_user = 'cltsign'
}
default: {
$pip_user = 'cltbld'
}
}
### Tuxedo
## (used to submit new bouncer entries for releases)
$tuxedo_user = 'user'
$tuxedo_password = 'pass'
### Balrog
## (used to submit updates to balrog server)
$balrog_username = 'user'
$balrog_password = 'password'
### BuildSlave passwords
## Regular slaves (compile slaves for regular branches)
$linux_build_password = 'pass'
$linux64_build_password = 'pass'
$win32_build_password = 'pass'
$macosx_build_password = 'pass'
$macosx64_build_password = 'pass'
$mock_build_password = 'pass'
## Try slaves
$linux_try_build_password = 'pass'
$linux64_try_build_password = 'pass'
$win32_try_build_password = 'pass'
$macosx_try_build_password = 'pass'
$macosx64_try_build_password = 'pass'
$mock_try_build_password = 'pass'
## Test slaves
$linux_tests_password = 'pass'
$linux64_tests_password = 'pass'
$fedora_tests_password = 'pass'
$fedora64_tests_password = 'pass'
$tiger_tests_password = 'pass'
$leopard_tests_password = 'pass'
$snowleopard_tests_password = 'pass'
$lion_tests_password = 'pass'
$mountainlion_tests_password = 'pass'
$xp_tests_password = 'pass'
$win7_tests_password = 'pass'
$w764_tests_password = 'pass'
$vista_tests_password = 'pass'
$tegra_android_tests_password = 'pass'
$panda_android_tests_password = 'pass'
## Buildapi stuff
$buildapi_rmq_password = 'pass'
$buildapi_rmq_host = 'localhost'
$buildapi_session_secret = 'secret'
$buildapi_schedulerdb_host = 'host'
$buildapi_schedulerdb_user = 'user'
$buildapi_schedulerdb_password = 'pass'
$buildapi_schedulerdb_database = 'pass'
$buildapi_statusdb_host = 'host'
$buildapi_statusdb_user = 'user'
$buildapi_statusdb_password = 'pass'
$buildapi_statusdb_database = 'pass'
$buildapi_redis_host = 'localhost'
}
class secrets::users {
user {
'jschmoe':
uid => '1021',
shell => '/bin/bash',
managehome => true,
home => '/home/jschmoe',
ensure => 'present';
}
File { filebucket => false }
ssh_authorized_key {
'jschmoe_gen_1':
user => 'jschmoe',
require => User['jschmoe'],
type => 'ssh-dss',
key => '<contents of key here>';
}
}
class secrets::signingserver::dep {
# The 0 suffixed versions are used for transitioning between old and new
# versions of token secrets or token auth.
$new_token_auth = "foo:bar"
$new_token_auth0 = "foo:bar"
$token_secret = "seeeeeeeecret"
$token_secret0 = "seeeeeeeecret"
}
class secrets::signingserver::nightly {
# The 0 suffixed versions are used for transitioning between old and new
# versions of token secrets or token auth.
$new_token_auth = "foo:bar"
$new_token_auth0 = "foo:bar"
$token_secret = "seeeeeeeecret"
$token_secret0 = "seeeeeeeecret"
}
class secrets::signingserver::release {
# The 0 suffixed versions are used for transitioning between old and new
# versions of token secrets or token auth.
$new_token_auth = "foo:bar"
$new_token_auth0 = "foo:bar"
$token_secret = "seeeeeeeecret"
$token_secret0 = "seeeeeeeecret"
}
class secrets::network {
# This list of master IP addresses is used in some modules. This list includes
# masters from all levels: staging, preproduction, and production.
$masterIPs = "1.1.1.1, 2.2.2.2"
# This is a list of netblocks that encompasses the entire build network.
# This needs to be updated when we move to SCL3, or if we further extend existing networks.
$buildNetworkIPs = "0.0.0.0/0, 8.8.8.0/24"
}