-
Notifications
You must be signed in to change notification settings - Fork 277
Expand file tree
/
Copy pathosfamilymap.yaml
More file actions
224 lines (201 loc) · 5.37 KB
/
osfamilymap.yaml
File metadata and controls
224 lines (201 loc) · 5.37 KB
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# -*- coding: utf-8 -*-
# vim: ft=yaml
#
# Setup variables using grains['os_family'] based logic.
# You just need to add the key:values for an `os_family` that differ
# from `defaults.yaml` + `osarch.yaml`.
# Only add an `os_family` which is/will be supported by the formula.
#
# If you do not need to provide defaults via the `os_family` grain,
# you will need to provide at least an empty dict in this file, e.g.
# osfamilymap: {}
---
Debian:
pkg:
name: apache2
deps:
- libapache2-mod-security2
- libapache2-mod-geoip
# libapache2-mod-fcgid
# libapache2-mod-upload-progress
service:
name: apache2
user: www-data
group: www-data
config: /etc/apache2/apache2.conf
portsfile: /etc/apache2/ports.conf
mod_wsgi: libapache2-mod-wsgi
mod_php5: libapache2-mod-php
mod_perl2: libapache2-mod-perl2
mod_fcgid: libapache2-mod-fcgid
mod_upload_progress: libapache2-mod-upload-progress
mod_pagespeed: mod-pagespeed-stable
# yamllint disable-line rule:line-length
mod_pagespeed_source: https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_amd64.deb
mod_xsendfile: libapache2-mod-xsendfile
mod_fastcgi: libapache2-mod-fastcgi
mod_geoip: libapache2-mod-geoip
mod_geoip_database: geoip-database
vhostdir: /etc/apache2/sites-available
confdir: /etc/apache2/conf-available
modulesdir: /usr/lib64/apache2/modules
confext: .conf
default_site: default
default_site_ssl: default-ssl
logdir: /var/log/apache2
logrotatedir: /etc/logrotate.d/apache2
wwwdir: /srv
moddir: /etc/apache2/mods-enabled
sitesdir: /etc/apache2/sites-enabled
RedHat:
pkg:
name: httpd
deps:
- mod_ssl
- mod_security
- mod_geoip
- GeoIP
service:
name: httpd
user: apache
group: apache
config: /etc/httpd/conf/httpd.conf
mod_ssl_pkg: mod_ssl
mod_wsgi: mod_wsgi
conf_mod_wsgi: /etc/httpd/conf.d/wsgi.conf
mod_php5: php
mod_fcgid: mod_fcgid
# yamllint disable-line rule:line-length
mod_pagespeed_source: https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_x86_64.rpm
mod_geoip: mod_geoip
mod_geoip_database: GeoIP
vhostdir: /etc/httpd/conf.d
confdir: /etc/httpd/conf.d
modulesdir: /usr/lib64/httpd/modules
confext: .conf
default_site: default
default_site_ssl: ssl
logdir: /var/log/httpd
logrotatedir: /etc/logrotate.d/httpd
wwwdir: /var/www
default_charset: UTF-8
use_require: false
moddir: /etc/httpd/conf.modules.d
sitesdir: /etc/httpd/conf.d
Suse:
pkg:
name: apache2
deps:
- apache2-mod_security2
service:
name: apache2
user: wwwrun
group: wwwrun
config: /etc/apache2/httpd.conf
portsfile: /etc/apache2/ports.conf
mod_wsgi: apache2-mod_wsgi
mod_php5: apache2-mod_php5
mod_fcgid: apache2-mod_fcgid
mod_perl2: apache2-mod_perl
mod_upload_progress: apache2-mod_upload_progress
mod_pagespeed: apache2-mod_pagespeed
mod_geoip: apache2-mod_geoip
mod_geoip_database: GeoIP-data
vhostdir: /etc/apache2/vhosts.d
confdir: /etc/apache2/conf.d
modulesdir: /usr/lib64/apache2/modules
confext: .conf
default_site: vhost.template
default_site_ssl: vhost-ssl.template
logdir: /var/log/apache2
logrotatedir: /etc/logrotate.d/apache2
wwwdir: /srv/www
moddir: /etc/apache2/mods-enabled
sitesdir: /etc/apache2/vhosts.d
Gentoo:
pkg:
name: www-servers/apache
service:
name: apache2
user: apache
group: apache
config: /etc/apache2/httpd.conf
mod_wsgi: www-apache/mod_wsgi
mod_fcgid: www-apache/mod_fcgid
vhostdir: /etc/apache2/vhosts.d
confdir: /etc/conf.d/apache2
modulesdir: /usr/lib64/apache2/modules
confext: .conf
default_site: default
default_site_ssl: default-ssl
logdir: /var/log/apache2
logrotatedir: /etc/logrotate.d/apache2
wwwdir: /var/www
moddir: /etc/apache2/mods-enabled
sitesdir: /etc/apache2/sites-enabled
Arch:
pkg:
name: apache
deps:
- geoip
- libxml2
service:
name: httpd
service_state: skip
user: http
group: http
config: /etc/httpd/conf/httpd.conf
mod_wsgi: mod_wsgi
mod_security:
package: libmodsecurity
mod_geoip: null
mod_geoip_database: geoip-database
vhostdir: /etc/httpd/conf/vhosts
confdir: /etc/httpd/conf/extra
davlockdbdir: /etc/httpd/var/DavLock
modulesdir: /usr/lib/httpd/modules
confext: .conf
logdir: /var/log/httpd
logrotatedir: /etc/logrotate.d/httpd
wwwdir: /srv/http
default_site: default
default_site_ssl: default-ssl
moddir: /etc/httpd/conf.modules.d
sitesdir: /etc/httpd/sites-enabled
Alpine: {}
FreeBSD:
pkg:
name: apache24
rootgroup: wheel
service:
name: apache24
user: www
group: www
config: /usr/local/etc/apache24/httpd.conf
portsfile: /usr/local/etc/apache24/ports.conf
envvarsfile: /usr/local/etc/apache24/envvars.d/by_salt.env
mod_php5: mod_php56
mod_perl2: ap24-mod_perl2
mod_wsgi: ap24-mod_wsgi3
vhostdir: /usr/local/etc/apache24/Includes
confdir: /usr/local/etc/apache24/extra
modulesdir: /usr/local/etc/apache24/modules.d
global_document_root: /usr/local/www/apache24/data
confext: ''
default_site: default
default_site_ssl: default-ssl
moddir: /usr/local/etc/apache24/modules.d
logdir: /var/log
logdir_user: root
logdir_group: wheel
logrotatedir: /usr/local/etc/logrotate.d/apache2
wwwdir: /usr/local/www/apache24/
OpenBSD:
rootgroup: wheel
Solaris: {}
Windows:
pkg:
name: apache-httpd
service:
name: apache
MacOS: {}