Skip to content

Commit

Permalink
fix(yamllint): fix all errors
Browse files Browse the repository at this point in the history
```bash
letsencrypt-formula$ yamllint -s .
./pillar.example
  3:1       warning  missing document start "---"  (document-start)

./letsencrypt/defaults.yaml
  3:1       warning  missing document start "---"  (document-start)
  13:4      warning  missing starting space in comment  (comments)
  24:10     error    empty value in block mapping  (empty-values)

./letsencrypt/osfamilymap.yaml
  1:1       warning  missing document start "---"  (document-start)
```
  • Loading branch information
myii committed Oct 23, 2019
1 parent 55b3b31 commit 9aaec41
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions letsencrypt/defaults.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
letsencrypt:
use_package: true
pkgs:
Expand All @@ -10,7 +11,7 @@ letsencrypt:
# Only used for the git install method (use_package: false). If you want to
# have specific version of certbot you can enable it. The version value
# should match a certbot/certbot branch
#version: 0.30.x
# version: 0.30.x
config_dir:
path: /etc/letsencrypt
user: root
Expand All @@ -21,7 +22,7 @@ letsencrypt:
# post, and/or deploy directories within /etc/letsencrypt/renewal-hooks/. For
# more information, see: https://certbot.eff.org/docs/using.html#renewal
post_renew:
cmds:
cmds: []
cron:
minute: random
hour: random
Expand Down
3 changes: 3 additions & 0 deletions letsencrypt/osfamilymap.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
RedHat:
pkgs:
- python2-certbot-apache
Expand Down
1 change: 1 addition & 0 deletions pillar.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
letsencrypt:
# Install using packages instead of git
use_package: true
Expand Down

0 comments on commit 9aaec41

Please sign in to comment.