Merge pull request #203 from myii/chore/update-yamllint-config

fix(pillar.example): fix `octal-values` violation
This commit is contained in:
Imran Iqbal 2019-10-07 19:36:37 +01:00 committed by GitHub
commit 5b19f603c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -7,9 +7,11 @@ extends: default
# Files to ignore completely # Files to ignore completely
# 1. All YAML files under directory `node_modules/`, introduced during the Travis run # 1. All YAML files under directory `node_modules/`, introduced during the Travis run
# 2. Any SLS files under directory `test/`, which are actually state files # 2. Any SLS files under directory `test/`, which are actually state files
# 3. Any YAML files under directory `.kitchen/`, introduced during local testing
ignore: | ignore: |
node_modules/ node_modules/
test/**/states/**/*.sls test/**/states/**/*.sls
.kitchen/
yaml-files: yaml-files:
# Default settings # Default settings
@ -28,3 +30,6 @@ rules:
# Increase from default of `80` # Increase from default of `80`
# Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`) # Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
max: 88 max: 88
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true

View File

@ -148,7 +148,7 @@ php:
listen: /var/run/php5-fpm-myapp.sock listen: /var/run/php5-fpm-myapp.sock
listen.owner: www-data listen.owner: www-data
listen.group: www-data listen.group: www-data
listen.mode: 0660 listen.mode: '0660'
pm: dynamic pm: dynamic
pm.max_children: 5 pm.max_children: 5
pm.start_servers: 2 pm.start_servers: 2