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['osfinger'] based logic.
|
|
|
|
# You just need to add the key:values for an `osfinger` that differ
|
|
|
|
# from `defaults.yaml` + `osarch.yaml` + `os_family.yaml` + `osmap.yaml`.
|
|
|
|
# Only add an `osfinger` which is/will be supported by the formula.
|
|
|
|
#
|
|
|
|
# If you do not need to provide defaults via the `os_finger` grain,
|
|
|
|
# you will need to provide at least an empty dict in this file, e.g.
|
|
|
|
# osfingermap: {}
|
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
|
|
|
---
|
2015-08-25 21:38:16 +02:00
|
|
|
default:
|
|
|
|
version: '2.4'
|
2020-09-13 06:07:20 +02:00
|
|
|
|
|
|
|
# Suse
|
|
|
|
Leap-42:
|
2016-03-24 15:22:23 +01:00
|
|
|
version: '2.2'
|
2020-09-13 06:07:20 +02:00
|
|
|
|
|
|
|
# os: el
|
2015-08-25 21:38:16 +02:00
|
|
|
Red Hat Enterprise Linux Server-6:
|
|
|
|
version: '2.2'
|
2020-09-13 06:07:20 +02:00
|
|
|
service_state: skip
|
|
|
|
pkg:
|
|
|
|
deps:
|
|
|
|
- epel-release
|
|
|
|
- mod_ssl
|
|
|
|
- mod_security
|
|
|
|
- mod_geoip
|
2015-08-25 21:38:16 +02:00
|
|
|
Red Hat Enterprise Linux Server-7:
|
2015-10-03 15:44:45 +02:00
|
|
|
version: '2.4'
|
2020-09-13 06:07:20 +02:00
|
|
|
Oracle Linux Server-6:
|
|
|
|
version: '2.2'
|
|
|
|
Oracle Linux Server-7:
|
|
|
|
version: '2.4'
|
|
|
|
|
|
|
|
# Debian-10: {}
|
|
|
|
# Debian-9: {}
|
|
|
|
# Debian-8: {}
|
|
|
|
|
|
|
|
Ubuntu-12.04:
|
2015-10-03 15:44:45 +02:00
|
|
|
version: '2.2'
|
2020-09-13 06:07:20 +02:00
|
|
|
# Ubuntu-16.04: {}
|
|
|
|
# Ubuntu-18.04: {}
|
|
|
|
|
|
|
|
# Fedora-31: {}
|
|
|
|
# Fedora-30: {}
|
|
|
|
|
|
|
|
CentOS Linux-8:
|
|
|
|
version: '2.4'
|
|
|
|
pkg:
|
|
|
|
deps:
|
|
|
|
- epel-release
|
|
|
|
- mod_ssl
|
|
|
|
- mod_security
|
|
|
|
- GeoIP
|
|
|
|
# mod_geoip
|
|
|
|
|
2015-11-16 21:07:23 +01:00
|
|
|
CentOS Linux-7:
|
2015-10-03 15:44:45 +02:00
|
|
|
version: '2.4'
|
2017-04-06 14:03:37 +02:00
|
|
|
conf_mod_wsgi: '/etc/httpd/conf.modules.d/10-wsgi.conf'
|
2020-09-13 06:07:20 +02:00
|
|
|
pkg:
|
|
|
|
deps:
|
|
|
|
- epel-release
|
|
|
|
- mod_ssl
|
|
|
|
- mod_security
|
|
|
|
- GeoIP
|
|
|
|
- mod_geoip
|
|
|
|
CentOS-6:
|
2015-10-03 15:44:45 +02:00
|
|
|
version: '2.2'
|
2020-09-13 06:07:20 +02:00
|
|
|
service_state: skip # necessary for cent6
|
|
|
|
pkg:
|
|
|
|
deps:
|
|
|
|
- epel-release
|
|
|
|
- mod_ssl
|
|
|
|
- mod_security
|
|
|
|
- mod_geoip
|
|
|
|
|
2015-12-09 06:45:36 +01:00
|
|
|
Amazon Linux AMI-2014:
|
|
|
|
version: '2.2'
|
|
|
|
Amazon Linux AMI-2015:
|
|
|
|
version: '2.2'
|
2016-11-13 00:29:50 +01:00
|
|
|
Amazon Linux AMI-2016:
|
|
|
|
version: '2.2'
|
2020-09-13 06:07:20 +02:00
|
|
|
Amazon Linux-2:
|
|
|
|
version: '2.4'
|
|
|
|
pkg:
|
|
|
|
deps:
|
|
|
|
# mod_ssl
|
|
|
|
- mod_security
|
|
|
|
- GeoIP
|
|
|
|
|
|
|
|
# Amazon Linux AMI-2018: {}
|
|
|
|
# Leap-15: {}
|
|
|
|
# FreeBSD-12: {}
|
|
|
|
# Windows-8.1: {}
|
|
|
|
# Gentoo-2: {}
|