2018-11-07 21:21:50 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# vim: ft=yaml
|
2020-09-13 06:07:20 +02:00
|
|
|
#
|
|
|
|
# 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: {}
|
fix(yamllint): fix all errors
```bash
apache-formula$ yamllint -s .
./pillar.example
2:1 warning missing document start "---" (document-start)
5:26 warning truthy value should be one of [false, true] (truthy)
50:18 warning too few spaces before comment (comments)
51:16 warning truthy value should be one of [false, true] (truthy)
52:57 warning too few spaces before comment (comments)
52:89 error line too long (104 > 88 characters) (line-length)
67:33 warning truthy value should be one of [false, true] (truthy)
67:38 warning too few spaces before comment (comments)
69:31 warning too few spaces before comment (comments)
70:8 warning missing starting space in comment (comments)
75:53 warning too few spaces before comment (comments)
75:89 error line too long (98 > 88 characters) (line-length)
76:55 warning too few spaces before comment (comments)
76:89 error line too long (101 > 88 characters) (line-length)
78:50 warning too few spaces before comment (comments)
79:89 error line too long (95 > 88 characters) (line-length)
82:47 warning too few spaces before comment (comments)
83:54 warning too few spaces before comment (comments)
83:89 error line too long (100 > 88 characters) (line-length)
84:58 warning too few spaces before comment (comments)
84:89 error line too long (109 > 88 characters) (line-length)
93:32 warning too few spaces before comment (comments)
100:89 error line too long (105 > 88 characters) (line-length)
101:33 error trailing spaces (trailing-spaces)
102:16 warning truthy value should be one of [false, true] (truthy)
231:20 warning truthy value should be one of [false, true] (truthy)
242:32 warning too few spaces before comment (comments)
249:20 warning truthy value should be one of [false, true] (truthy)
254:20 warning truthy value should be one of [false, true] (truthy)
260:21 warning truthy value should be one of [false, true] (truthy)
283:8 warning missing starting space in comment (comments)
284:8 warning missing starting space in comment (comments)
297:15 warning too few spaces before comment (comments)
328:18 warning truthy value should be one of [false, true] (truthy)
330:20 warning truthy value should be one of [false, true] (truthy)
342:15 error empty value in block mapping (empty-values)
345:18 warning truthy value should be one of [false, true] (truthy)
348:18 warning truthy value should be one of [false, true] (truthy)
355:18 warning truthy value should be one of [false, true] (truthy)
358:89 error line too long (91 > 88 characters) (line-length)
359:26 warning truthy value should be one of [false, true] (truthy)
362:89 error line too long (99 > 88 characters) (line-length)
365:89 error line too long (267 > 88 characters) (line-length)
367:21 warning truthy value should be one of [false, true] (truthy)
369:26 warning truthy value should be one of [false, true] (truthy)
371:1 error too many blank lines (1 > 0) (empty-lines)
./apache/osfingermap.yaml
3:1 warning missing document start "---" (document-start)
./apache/modsecurity.yaml
4:1 warning missing document start "---" (document-start)
6:18 warning truthy value should be one of [false, true] (truthy)
7:20 warning truthy value should be one of [false, true] (truthy)
14:18 warning truthy value should be one of [false, true] (truthy)
15:20 warning truthy value should be one of [false, true] (truthy)
22:18 warning truthy value should be one of [false, true] (truthy)
23:20 warning truthy value should be one of [false, true] (truthy)
./apache/defaults.yaml
4:1 warning missing document start "---" (document-start)
5:26 warning truthy value should be one of [false, true] (truthy)
7:19 warning truthy value should be one of [false, true] (truthy)
10:18 warning truthy value should be one of [false, true] (truthy)
11:20 warning truthy value should be one of [false, true] (truthy)
./apache/oscodenamemap.yaml
4:1 warning missing document start "---" (document-start)
4:8 error trailing spaces (trailing-spaces)
9:8 error trailing spaces (trailing-spaces)
14:7 error trailing spaces (trailing-spaces)
19:6 error trailing spaces (trailing-spaces)
24:8 error trailing spaces (trailing-spaces)
29:9 error trailing spaces (trailing-spaces)
34:7 error trailing spaces (trailing-spaces)
39:8 error trailing spaces (trailing-spaces)
44:8 error trailing spaces (trailing-spaces)
50:9 error trailing spaces (trailing-spaces)
61:1 error too many blank lines (1 > 0) (empty-lines)
./apache/osfamilymap.yaml
4:1 warning missing document start "---" (document-start)
16:89 error line too long (104 > 88 characters) (line-length)
43:89 error line too long (105 > 88 characters) (line-length)
56:16 warning truthy value should be one of [false, true] (truthy)
114:11 error empty value in block mapping (empty-values)
114:11 error trailing spaces (trailing-spaces)
./test/salt/pillar/default.sls
5:26 warning truthy value should be one of [false, true] (truthy)
7:18 warning truthy value should be one of [false, true] (truthy)
8:20 warning truthy value should be one of [false, true] (truthy)
```
2019-10-17 05:48:22 +02:00
|
|
|
---
|
2018-11-07 21:21:50 +01:00
|
|
|
Debian:
|
2020-09-13 06:07:20 +02:00
|
|
|
pkg:
|
|
|
|
name: apache2
|
|
|
|
deps:
|
|
|
|
- libapache2-mod-security2
|
|
|
|
- libapache2-mod-geoip
|
|
|
|
# libapache2-mod-fcgid
|
|
|
|
# libapache2-mod-upload-progress
|
|
|
|
service:
|
|
|
|
name: apache2
|
2018-11-07 21:21:50 +01:00
|
|
|
user: www-data
|
|
|
|
group: www-data
|
2020-09-13 06:07:20 +02:00
|
|
|
config: /etc/apache2/apache2.conf
|
2018-11-07 21:21:50 +01:00
|
|
|
portsfile: /etc/apache2/ports.conf
|
|
|
|
|
|
|
|
mod_wsgi: libapache2-mod-wsgi
|
|
|
|
mod_php5: libapache2-mod-php5
|
|
|
|
mod_perl2: libapache2-mod-perl2
|
|
|
|
mod_fcgid: libapache2-mod-fcgid
|
2020-09-13 06:07:20 +02:00
|
|
|
mod_upload_progress: libapache2-mod-upload-progress
|
|
|
|
mod_pagespeed: mod-pagespeed-stable
|
fix(yamllint): fix all errors
```bash
apache-formula$ yamllint -s .
./pillar.example
2:1 warning missing document start "---" (document-start)
5:26 warning truthy value should be one of [false, true] (truthy)
50:18 warning too few spaces before comment (comments)
51:16 warning truthy value should be one of [false, true] (truthy)
52:57 warning too few spaces before comment (comments)
52:89 error line too long (104 > 88 characters) (line-length)
67:33 warning truthy value should be one of [false, true] (truthy)
67:38 warning too few spaces before comment (comments)
69:31 warning too few spaces before comment (comments)
70:8 warning missing starting space in comment (comments)
75:53 warning too few spaces before comment (comments)
75:89 error line too long (98 > 88 characters) (line-length)
76:55 warning too few spaces before comment (comments)
76:89 error line too long (101 > 88 characters) (line-length)
78:50 warning too few spaces before comment (comments)
79:89 error line too long (95 > 88 characters) (line-length)
82:47 warning too few spaces before comment (comments)
83:54 warning too few spaces before comment (comments)
83:89 error line too long (100 > 88 characters) (line-length)
84:58 warning too few spaces before comment (comments)
84:89 error line too long (109 > 88 characters) (line-length)
93:32 warning too few spaces before comment (comments)
100:89 error line too long (105 > 88 characters) (line-length)
101:33 error trailing spaces (trailing-spaces)
102:16 warning truthy value should be one of [false, true] (truthy)
231:20 warning truthy value should be one of [false, true] (truthy)
242:32 warning too few spaces before comment (comments)
249:20 warning truthy value should be one of [false, true] (truthy)
254:20 warning truthy value should be one of [false, true] (truthy)
260:21 warning truthy value should be one of [false, true] (truthy)
283:8 warning missing starting space in comment (comments)
284:8 warning missing starting space in comment (comments)
297:15 warning too few spaces before comment (comments)
328:18 warning truthy value should be one of [false, true] (truthy)
330:20 warning truthy value should be one of [false, true] (truthy)
342:15 error empty value in block mapping (empty-values)
345:18 warning truthy value should be one of [false, true] (truthy)
348:18 warning truthy value should be one of [false, true] (truthy)
355:18 warning truthy value should be one of [false, true] (truthy)
358:89 error line too long (91 > 88 characters) (line-length)
359:26 warning truthy value should be one of [false, true] (truthy)
362:89 error line too long (99 > 88 characters) (line-length)
365:89 error line too long (267 > 88 characters) (line-length)
367:21 warning truthy value should be one of [false, true] (truthy)
369:26 warning truthy value should be one of [false, true] (truthy)
371:1 error too many blank lines (1 > 0) (empty-lines)
./apache/osfingermap.yaml
3:1 warning missing document start "---" (document-start)
./apache/modsecurity.yaml
4:1 warning missing document start "---" (document-start)
6:18 warning truthy value should be one of [false, true] (truthy)
7:20 warning truthy value should be one of [false, true] (truthy)
14:18 warning truthy value should be one of [false, true] (truthy)
15:20 warning truthy value should be one of [false, true] (truthy)
22:18 warning truthy value should be one of [false, true] (truthy)
23:20 warning truthy value should be one of [false, true] (truthy)
./apache/defaults.yaml
4:1 warning missing document start "---" (document-start)
5:26 warning truthy value should be one of [false, true] (truthy)
7:19 warning truthy value should be one of [false, true] (truthy)
10:18 warning truthy value should be one of [false, true] (truthy)
11:20 warning truthy value should be one of [false, true] (truthy)
./apache/oscodenamemap.yaml
4:1 warning missing document start "---" (document-start)
4:8 error trailing spaces (trailing-spaces)
9:8 error trailing spaces (trailing-spaces)
14:7 error trailing spaces (trailing-spaces)
19:6 error trailing spaces (trailing-spaces)
24:8 error trailing spaces (trailing-spaces)
29:9 error trailing spaces (trailing-spaces)
34:7 error trailing spaces (trailing-spaces)
39:8 error trailing spaces (trailing-spaces)
44:8 error trailing spaces (trailing-spaces)
50:9 error trailing spaces (trailing-spaces)
61:1 error too many blank lines (1 > 0) (empty-lines)
./apache/osfamilymap.yaml
4:1 warning missing document start "---" (document-start)
16:89 error line too long (104 > 88 characters) (line-length)
43:89 error line too long (105 > 88 characters) (line-length)
56:16 warning truthy value should be one of [false, true] (truthy)
114:11 error empty value in block mapping (empty-values)
114:11 error trailing spaces (trailing-spaces)
./test/salt/pillar/default.sls
5:26 warning truthy value should be one of [false, true] (truthy)
7:18 warning truthy value should be one of [false, true] (truthy)
8:20 warning truthy value should be one of [false, true] (truthy)
```
2019-10-17 05:48:22 +02:00
|
|
|
# yamllint disable-line rule:line-length
|
2018-11-07 21:21:50 +01:00
|
|
|
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
|
2020-09-13 06:07:20 +02:00
|
|
|
modulesdir: /usr/lib64/apache2/modules
|
2018-11-07 21:21:50 +01:00
|
|
|
confext: .conf
|
|
|
|
default_site: default
|
|
|
|
default_site_ssl: default-ssl
|
|
|
|
logdir: /var/log/apache2
|
|
|
|
logrotatedir: /etc/logrotate.d/apache2
|
|
|
|
wwwdir: /srv
|
2020-10-13 23:56:20 +02:00
|
|
|
moddir: /etc/apache2/mods-enabled
|
2020-09-13 06:07:20 +02:00
|
|
|
sitesdir: /etc/apache2/sites-enabled
|
2018-11-07 21:21:50 +01:00
|
|
|
|
|
|
|
RedHat:
|
2020-09-13 06:07:20 +02:00
|
|
|
pkg:
|
|
|
|
name: httpd
|
|
|
|
deps:
|
|
|
|
- mod_ssl
|
|
|
|
- mod_security
|
|
|
|
- mod_geoip
|
|
|
|
- GeoIP
|
|
|
|
service:
|
|
|
|
name: httpd
|
2018-11-07 21:21:50 +01:00
|
|
|
user: apache
|
|
|
|
group: apache
|
2020-09-13 06:07:20 +02:00
|
|
|
config: /etc/httpd/conf/httpd.conf
|
2018-11-07 21:21:50 +01:00
|
|
|
|
2020-04-02 18:29:06 +02:00
|
|
|
mod_ssl_pkg: mod_ssl
|
2018-11-07 21:21:50 +01:00
|
|
|
mod_wsgi: mod_wsgi
|
|
|
|
conf_mod_wsgi: /etc/httpd/conf.d/wsgi.conf
|
|
|
|
mod_php5: php
|
|
|
|
mod_fcgid: mod_fcgid
|
fix(yamllint): fix all errors
```bash
apache-formula$ yamllint -s .
./pillar.example
2:1 warning missing document start "---" (document-start)
5:26 warning truthy value should be one of [false, true] (truthy)
50:18 warning too few spaces before comment (comments)
51:16 warning truthy value should be one of [false, true] (truthy)
52:57 warning too few spaces before comment (comments)
52:89 error line too long (104 > 88 characters) (line-length)
67:33 warning truthy value should be one of [false, true] (truthy)
67:38 warning too few spaces before comment (comments)
69:31 warning too few spaces before comment (comments)
70:8 warning missing starting space in comment (comments)
75:53 warning too few spaces before comment (comments)
75:89 error line too long (98 > 88 characters) (line-length)
76:55 warning too few spaces before comment (comments)
76:89 error line too long (101 > 88 characters) (line-length)
78:50 warning too few spaces before comment (comments)
79:89 error line too long (95 > 88 characters) (line-length)
82:47 warning too few spaces before comment (comments)
83:54 warning too few spaces before comment (comments)
83:89 error line too long (100 > 88 characters) (line-length)
84:58 warning too few spaces before comment (comments)
84:89 error line too long (109 > 88 characters) (line-length)
93:32 warning too few spaces before comment (comments)
100:89 error line too long (105 > 88 characters) (line-length)
101:33 error trailing spaces (trailing-spaces)
102:16 warning truthy value should be one of [false, true] (truthy)
231:20 warning truthy value should be one of [false, true] (truthy)
242:32 warning too few spaces before comment (comments)
249:20 warning truthy value should be one of [false, true] (truthy)
254:20 warning truthy value should be one of [false, true] (truthy)
260:21 warning truthy value should be one of [false, true] (truthy)
283:8 warning missing starting space in comment (comments)
284:8 warning missing starting space in comment (comments)
297:15 warning too few spaces before comment (comments)
328:18 warning truthy value should be one of [false, true] (truthy)
330:20 warning truthy value should be one of [false, true] (truthy)
342:15 error empty value in block mapping (empty-values)
345:18 warning truthy value should be one of [false, true] (truthy)
348:18 warning truthy value should be one of [false, true] (truthy)
355:18 warning truthy value should be one of [false, true] (truthy)
358:89 error line too long (91 > 88 characters) (line-length)
359:26 warning truthy value should be one of [false, true] (truthy)
362:89 error line too long (99 > 88 characters) (line-length)
365:89 error line too long (267 > 88 characters) (line-length)
367:21 warning truthy value should be one of [false, true] (truthy)
369:26 warning truthy value should be one of [false, true] (truthy)
371:1 error too many blank lines (1 > 0) (empty-lines)
./apache/osfingermap.yaml
3:1 warning missing document start "---" (document-start)
./apache/modsecurity.yaml
4:1 warning missing document start "---" (document-start)
6:18 warning truthy value should be one of [false, true] (truthy)
7:20 warning truthy value should be one of [false, true] (truthy)
14:18 warning truthy value should be one of [false, true] (truthy)
15:20 warning truthy value should be one of [false, true] (truthy)
22:18 warning truthy value should be one of [false, true] (truthy)
23:20 warning truthy value should be one of [false, true] (truthy)
./apache/defaults.yaml
4:1 warning missing document start "---" (document-start)
5:26 warning truthy value should be one of [false, true] (truthy)
7:19 warning truthy value should be one of [false, true] (truthy)
10:18 warning truthy value should be one of [false, true] (truthy)
11:20 warning truthy value should be one of [false, true] (truthy)
./apache/oscodenamemap.yaml
4:1 warning missing document start "---" (document-start)
4:8 error trailing spaces (trailing-spaces)
9:8 error trailing spaces (trailing-spaces)
14:7 error trailing spaces (trailing-spaces)
19:6 error trailing spaces (trailing-spaces)
24:8 error trailing spaces (trailing-spaces)
29:9 error trailing spaces (trailing-spaces)
34:7 error trailing spaces (trailing-spaces)
39:8 error trailing spaces (trailing-spaces)
44:8 error trailing spaces (trailing-spaces)
50:9 error trailing spaces (trailing-spaces)
61:1 error too many blank lines (1 > 0) (empty-lines)
./apache/osfamilymap.yaml
4:1 warning missing document start "---" (document-start)
16:89 error line too long (104 > 88 characters) (line-length)
43:89 error line too long (105 > 88 characters) (line-length)
56:16 warning truthy value should be one of [false, true] (truthy)
114:11 error empty value in block mapping (empty-values)
114:11 error trailing spaces (trailing-spaces)
./test/salt/pillar/default.sls
5:26 warning truthy value should be one of [false, true] (truthy)
7:18 warning truthy value should be one of [false, true] (truthy)
8:20 warning truthy value should be one of [false, true] (truthy)
```
2019-10-17 05:48:22 +02:00
|
|
|
# yamllint disable-line rule:line-length
|
2018-11-07 21:21:50 +01:00
|
|
|
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/vhosts.d
|
|
|
|
confdir: /etc/httpd/conf.d
|
2020-09-13 06:07:20 +02:00
|
|
|
modulesdir: /usr/lib64/httpd/modules
|
2018-11-07 21:21:50 +01:00
|
|
|
confext: .conf
|
|
|
|
default_site: default
|
|
|
|
default_site_ssl: default-ssl
|
|
|
|
logdir: /var/log/httpd
|
|
|
|
logrotatedir: /etc/logrotate.d/httpd
|
|
|
|
wwwdir: /var/www
|
|
|
|
default_charset: UTF-8
|
fix(yamllint): fix all errors
```bash
apache-formula$ yamllint -s .
./pillar.example
2:1 warning missing document start "---" (document-start)
5:26 warning truthy value should be one of [false, true] (truthy)
50:18 warning too few spaces before comment (comments)
51:16 warning truthy value should be one of [false, true] (truthy)
52:57 warning too few spaces before comment (comments)
52:89 error line too long (104 > 88 characters) (line-length)
67:33 warning truthy value should be one of [false, true] (truthy)
67:38 warning too few spaces before comment (comments)
69:31 warning too few spaces before comment (comments)
70:8 warning missing starting space in comment (comments)
75:53 warning too few spaces before comment (comments)
75:89 error line too long (98 > 88 characters) (line-length)
76:55 warning too few spaces before comment (comments)
76:89 error line too long (101 > 88 characters) (line-length)
78:50 warning too few spaces before comment (comments)
79:89 error line too long (95 > 88 characters) (line-length)
82:47 warning too few spaces before comment (comments)
83:54 warning too few spaces before comment (comments)
83:89 error line too long (100 > 88 characters) (line-length)
84:58 warning too few spaces before comment (comments)
84:89 error line too long (109 > 88 characters) (line-length)
93:32 warning too few spaces before comment (comments)
100:89 error line too long (105 > 88 characters) (line-length)
101:33 error trailing spaces (trailing-spaces)
102:16 warning truthy value should be one of [false, true] (truthy)
231:20 warning truthy value should be one of [false, true] (truthy)
242:32 warning too few spaces before comment (comments)
249:20 warning truthy value should be one of [false, true] (truthy)
254:20 warning truthy value should be one of [false, true] (truthy)
260:21 warning truthy value should be one of [false, true] (truthy)
283:8 warning missing starting space in comment (comments)
284:8 warning missing starting space in comment (comments)
297:15 warning too few spaces before comment (comments)
328:18 warning truthy value should be one of [false, true] (truthy)
330:20 warning truthy value should be one of [false, true] (truthy)
342:15 error empty value in block mapping (empty-values)
345:18 warning truthy value should be one of [false, true] (truthy)
348:18 warning truthy value should be one of [false, true] (truthy)
355:18 warning truthy value should be one of [false, true] (truthy)
358:89 error line too long (91 > 88 characters) (line-length)
359:26 warning truthy value should be one of [false, true] (truthy)
362:89 error line too long (99 > 88 characters) (line-length)
365:89 error line too long (267 > 88 characters) (line-length)
367:21 warning truthy value should be one of [false, true] (truthy)
369:26 warning truthy value should be one of [false, true] (truthy)
371:1 error too many blank lines (1 > 0) (empty-lines)
./apache/osfingermap.yaml
3:1 warning missing document start "---" (document-start)
./apache/modsecurity.yaml
4:1 warning missing document start "---" (document-start)
6:18 warning truthy value should be one of [false, true] (truthy)
7:20 warning truthy value should be one of [false, true] (truthy)
14:18 warning truthy value should be one of [false, true] (truthy)
15:20 warning truthy value should be one of [false, true] (truthy)
22:18 warning truthy value should be one of [false, true] (truthy)
23:20 warning truthy value should be one of [false, true] (truthy)
./apache/defaults.yaml
4:1 warning missing document start "---" (document-start)
5:26 warning truthy value should be one of [false, true] (truthy)
7:19 warning truthy value should be one of [false, true] (truthy)
10:18 warning truthy value should be one of [false, true] (truthy)
11:20 warning truthy value should be one of [false, true] (truthy)
./apache/oscodenamemap.yaml
4:1 warning missing document start "---" (document-start)
4:8 error trailing spaces (trailing-spaces)
9:8 error trailing spaces (trailing-spaces)
14:7 error trailing spaces (trailing-spaces)
19:6 error trailing spaces (trailing-spaces)
24:8 error trailing spaces (trailing-spaces)
29:9 error trailing spaces (trailing-spaces)
34:7 error trailing spaces (trailing-spaces)
39:8 error trailing spaces (trailing-spaces)
44:8 error trailing spaces (trailing-spaces)
50:9 error trailing spaces (trailing-spaces)
61:1 error too many blank lines (1 > 0) (empty-lines)
./apache/osfamilymap.yaml
4:1 warning missing document start "---" (document-start)
16:89 error line too long (104 > 88 characters) (line-length)
43:89 error line too long (105 > 88 characters) (line-length)
56:16 warning truthy value should be one of [false, true] (truthy)
114:11 error empty value in block mapping (empty-values)
114:11 error trailing spaces (trailing-spaces)
./test/salt/pillar/default.sls
5:26 warning truthy value should be one of [false, true] (truthy)
7:18 warning truthy value should be one of [false, true] (truthy)
8:20 warning truthy value should be one of [false, true] (truthy)
```
2019-10-17 05:48:22 +02:00
|
|
|
use_require: false
|
2018-11-07 21:21:50 +01:00
|
|
|
moddir: /etc/httpd/conf.modules.d
|
2020-09-13 06:07:20 +02:00
|
|
|
sitesdir: /etc/httpd/sites-enabled
|
|
|
|
|
|
|
|
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/sites-available
|
|
|
|
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/sites-enabled
|
2018-11-07 21:21:50 +01:00
|
|
|
|
|
|
|
Gentoo:
|
2020-09-13 06:07:20 +02:00
|
|
|
pkg:
|
|
|
|
name: www-servers/apache
|
|
|
|
service:
|
|
|
|
name: apache2
|
2018-11-07 21:21:50 +01:00
|
|
|
user: apache
|
|
|
|
group: apache
|
2020-09-13 06:07:20 +02:00
|
|
|
config: /etc/apache2/httpd.conf
|
2018-11-07 21:21:50 +01:00
|
|
|
|
|
|
|
mod_wsgi: www-apache/mod_wsgi
|
|
|
|
mod_fcgid: www-apache/mod_fcgid
|
|
|
|
|
|
|
|
vhostdir: /etc/apache2/vhosts.d
|
|
|
|
confdir: /etc/conf.d/apache2
|
2020-09-13 06:07:20 +02:00
|
|
|
modulesdir: /usr/lib64/apache2/modules
|
2018-11-07 21:21:50 +01:00
|
|
|
confext: .conf
|
|
|
|
default_site: default
|
|
|
|
default_site_ssl: default-ssl
|
|
|
|
logdir: /var/log/apache2
|
|
|
|
logrotatedir: /etc/logrotate.d/apache2
|
|
|
|
wwwdir: /var/www
|
2020-09-13 06:07:20 +02:00
|
|
|
moddir: /etc/apache2/mods-enabled
|
|
|
|
sitesdir: /etc/apache2/sites-enabled
|
2018-11-07 21:21:50 +01:00
|
|
|
|
2020-09-13 06:07:20 +02:00
|
|
|
Arch:
|
|
|
|
pkg:
|
|
|
|
name: apache
|
|
|
|
deps:
|
|
|
|
- geoip
|
|
|
|
- libxml2
|
|
|
|
service:
|
|
|
|
name: httpd
|
|
|
|
service_state: skip
|
|
|
|
user: http
|
|
|
|
group: http
|
|
|
|
config: /etc/httpd/conf/httpd.conf
|
2018-11-07 21:21:50 +01:00
|
|
|
|
2020-09-13 06:07:20 +02:00
|
|
|
mod_wsgi: mod_wsgi
|
|
|
|
mod_security:
|
|
|
|
package: libmodsecurity
|
|
|
|
mod_geoip: null
|
|
|
|
mod_geoip_database: geoip-database
|
2018-11-07 21:21:50 +01:00
|
|
|
|
2020-09-13 06:07:20 +02:00
|
|
|
vhostdir: /etc/httpd/conf/vhosts
|
|
|
|
confdir: /etc/httpd/conf/extra
|
|
|
|
davlockdbdir: /etc/httpd/var/DavLock
|
|
|
|
modulesdir: /usr/lib/httpd/modules
|
2018-11-07 21:21:50 +01:00
|
|
|
confext: .conf
|
2020-09-13 06:07:20 +02:00
|
|
|
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: {}
|
2018-11-07 21:21:50 +01:00
|
|
|
|
|
|
|
FreeBSD:
|
2020-09-13 06:07:20 +02:00
|
|
|
pkg:
|
|
|
|
name: apache24
|
|
|
|
rootgroup: wheel
|
|
|
|
service:
|
|
|
|
name: apache24
|
2018-11-07 21:21:50 +01:00
|
|
|
user: www
|
|
|
|
group: www
|
2020-09-13 06:07:20 +02:00
|
|
|
config: /usr/local/etc/apache24/httpd.conf
|
2018-11-07 21:21:50 +01:00
|
|
|
portsfile: /usr/local/etc/apache24/ports.conf
|
|
|
|
|
|
|
|
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
|
|
|
|
|
fix(yamllint): fix all errors
```bash
apache-formula$ yamllint -s .
./pillar.example
2:1 warning missing document start "---" (document-start)
5:26 warning truthy value should be one of [false, true] (truthy)
50:18 warning too few spaces before comment (comments)
51:16 warning truthy value should be one of [false, true] (truthy)
52:57 warning too few spaces before comment (comments)
52:89 error line too long (104 > 88 characters) (line-length)
67:33 warning truthy value should be one of [false, true] (truthy)
67:38 warning too few spaces before comment (comments)
69:31 warning too few spaces before comment (comments)
70:8 warning missing starting space in comment (comments)
75:53 warning too few spaces before comment (comments)
75:89 error line too long (98 > 88 characters) (line-length)
76:55 warning too few spaces before comment (comments)
76:89 error line too long (101 > 88 characters) (line-length)
78:50 warning too few spaces before comment (comments)
79:89 error line too long (95 > 88 characters) (line-length)
82:47 warning too few spaces before comment (comments)
83:54 warning too few spaces before comment (comments)
83:89 error line too long (100 > 88 characters) (line-length)
84:58 warning too few spaces before comment (comments)
84:89 error line too long (109 > 88 characters) (line-length)
93:32 warning too few spaces before comment (comments)
100:89 error line too long (105 > 88 characters) (line-length)
101:33 error trailing spaces (trailing-spaces)
102:16 warning truthy value should be one of [false, true] (truthy)
231:20 warning truthy value should be one of [false, true] (truthy)
242:32 warning too few spaces before comment (comments)
249:20 warning truthy value should be one of [false, true] (truthy)
254:20 warning truthy value should be one of [false, true] (truthy)
260:21 warning truthy value should be one of [false, true] (truthy)
283:8 warning missing starting space in comment (comments)
284:8 warning missing starting space in comment (comments)
297:15 warning too few spaces before comment (comments)
328:18 warning truthy value should be one of [false, true] (truthy)
330:20 warning truthy value should be one of [false, true] (truthy)
342:15 error empty value in block mapping (empty-values)
345:18 warning truthy value should be one of [false, true] (truthy)
348:18 warning truthy value should be one of [false, true] (truthy)
355:18 warning truthy value should be one of [false, true] (truthy)
358:89 error line too long (91 > 88 characters) (line-length)
359:26 warning truthy value should be one of [false, true] (truthy)
362:89 error line too long (99 > 88 characters) (line-length)
365:89 error line too long (267 > 88 characters) (line-length)
367:21 warning truthy value should be one of [false, true] (truthy)
369:26 warning truthy value should be one of [false, true] (truthy)
371:1 error too many blank lines (1 > 0) (empty-lines)
./apache/osfingermap.yaml
3:1 warning missing document start "---" (document-start)
./apache/modsecurity.yaml
4:1 warning missing document start "---" (document-start)
6:18 warning truthy value should be one of [false, true] (truthy)
7:20 warning truthy value should be one of [false, true] (truthy)
14:18 warning truthy value should be one of [false, true] (truthy)
15:20 warning truthy value should be one of [false, true] (truthy)
22:18 warning truthy value should be one of [false, true] (truthy)
23:20 warning truthy value should be one of [false, true] (truthy)
./apache/defaults.yaml
4:1 warning missing document start "---" (document-start)
5:26 warning truthy value should be one of [false, true] (truthy)
7:19 warning truthy value should be one of [false, true] (truthy)
10:18 warning truthy value should be one of [false, true] (truthy)
11:20 warning truthy value should be one of [false, true] (truthy)
./apache/oscodenamemap.yaml
4:1 warning missing document start "---" (document-start)
4:8 error trailing spaces (trailing-spaces)
9:8 error trailing spaces (trailing-spaces)
14:7 error trailing spaces (trailing-spaces)
19:6 error trailing spaces (trailing-spaces)
24:8 error trailing spaces (trailing-spaces)
29:9 error trailing spaces (trailing-spaces)
34:7 error trailing spaces (trailing-spaces)
39:8 error trailing spaces (trailing-spaces)
44:8 error trailing spaces (trailing-spaces)
50:9 error trailing spaces (trailing-spaces)
61:1 error too many blank lines (1 > 0) (empty-lines)
./apache/osfamilymap.yaml
4:1 warning missing document start "---" (document-start)
16:89 error line too long (104 > 88 characters) (line-length)
43:89 error line too long (105 > 88 characters) (line-length)
56:16 warning truthy value should be one of [false, true] (truthy)
114:11 error empty value in block mapping (empty-values)
114:11 error trailing spaces (trailing-spaces)
./test/salt/pillar/default.sls
5:26 warning truthy value should be one of [false, true] (truthy)
7:18 warning truthy value should be one of [false, true] (truthy)
8:20 warning truthy value should be one of [false, true] (truthy)
```
2019-10-17 05:48:22 +02:00
|
|
|
confext: ''
|
2018-11-07 21:21:50 +01:00
|
|
|
default_site: default
|
|
|
|
default_site_ssl: default-ssl
|
|
|
|
logdir: /var/log/
|
|
|
|
wwwdir: /usr/local/www/apache24/
|
|
|
|
|
2020-09-13 06:07:20 +02:00
|
|
|
OpenBSD:
|
|
|
|
rootgroup: wheel
|
2018-11-07 21:21:50 +01:00
|
|
|
|
2020-09-13 06:07:20 +02:00
|
|
|
Solaris: {}
|
2018-11-07 21:21:50 +01:00
|
|
|
|
2020-09-13 06:07:20 +02:00
|
|
|
Windows:
|
|
|
|
pkg:
|
|
|
|
name: apache-httpd
|
|
|
|
service:
|
|
|
|
name: apache
|
|
|
|
|
|
|
|
MacOS: {}
|