feat(yamllint): include for this repo and apply rules throughout
* Semi-automated using `ssf-formula` (v0.5.0)
* Fix errors shown below:
```bash
logrotate-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:")
./logrotate/osmap.yaml
1:1 warning missing document start "---" (document-start)
./logrotate/osfamilymap.yaml
1:1 warning missing document start "---" (document-start)
7:15 warning truthy value should be one of [false, true] (truthy)
12:14 warning truthy value should be one of [false, true] (truthy)
14:23 warning truthy value should be one of [false, true] (truthy)
16:14 warning truthy value should be one of [false, true] (truthy)
24:14 warning truthy value should be one of [false, true] (truthy)
./logrotate/defaults.yaml
4:1 warning missing document start "---" (document-start)
11:23 warning truthy value should be one of [false, true] (truthy)
13:13 warning truthy value should be one of [false, true] (truthy)
15:13 warning truthy value should be one of [false, true] (truthy)
16:1 error too many blank lines (1 > 0) (empty-lines)
pillar.example
3:1 warning missing document start "---" (document-start)
5:4 warning missing starting space in comment (comments)
6:6 warning missing starting space in comment (comments)
6:5 warning comment not indented like content (comments-indentation)
7:6 warning missing starting space in comment (comments)
9:13 warning truthy value should be one of [false, true] (truthy)
11:13 warning truthy value should be one of [false, true] (truthy)
12:15 warning truthy value should be one of [false, true] (truthy)
13:14 warning truthy value should be one of [false, true] (truthy)
26:12 error trailing spaces (trailing-spaces)
48:12 error too many spaces after hyphen (hyphens)
69:1 error too many blank lines (1 > 0) (empty-lines)
```
2019-08-06 15:53:31 -04:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# vim: ft=yaml
|
|
|
|
---
|
2019-07-14 18:11:11 -04:00
|
|
|
name: default
|
|
|
|
title: logrotate formula
|
|
|
|
maintainer: SaltStack Formulas
|
2019-06-18 15:33:27 -04:00
|
|
|
license: Apache-2.0
|
|
|
|
summary: Verify that the logrotate formula is setup and configured correctly
|
2021-03-23 17:29:48 -04:00
|
|
|
depends:
|
|
|
|
- name: share
|
|
|
|
path: test/integration/share
|
2018-07-06 09:07:39 -04:00
|
|
|
supports:
|
2019-06-18 15:33:27 -04:00
|
|
|
- platform-name: debian
|
|
|
|
- platform-name: ubuntu
|
|
|
|
- platform-name: centos
|
|
|
|
- platform-name: fedora
|
|
|
|
- platform-name: opensuse
|
|
|
|
- platform-name: suse
|
2019-07-14 18:11:11 -04:00
|
|
|
- platform-name: freebsd
|
2021-03-23 17:29:48 -04:00
|
|
|
- platform-name: openbsd
|
2019-07-14 18:11:11 -04:00
|
|
|
- platform-name: amazon
|
2021-02-12 10:53:11 -05:00
|
|
|
- platform-name: oracle
|
2019-10-01 11:20:01 -04:00
|
|
|
- platform-name: arch
|
2021-02-12 10:53:11 -05:00
|
|
|
- platform-name: gentoo
|
2021-07-01 19:04:03 -04:00
|
|
|
- platform-name: almalinux
|
|
|
|
- platform-name: rocky
|
2022-05-17 08:19:35 -04:00
|
|
|
- platform-name: mac_os_x
|
2021-02-12 10:53:11 -05:00
|
|
|
- platform: windows
|