Skip to content

Commit 426e212

Browse files
authored
Merge pull request #140 from myii/chore/update-yamllint-config
fix(pillar.example): fix `octal-values` violation
2 parents a26517b + eb29e00 commit 426e212

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.yamllint

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ extends: default
77
# Files to ignore completely
88
# 1. All YAML files under directory `node_modules/`, introduced during the Travis run
99
# 2. Any SLS files under directory `test/`, which are actually state files
10+
# 3. Any YAML files under directory `.kitchen/`, introduced during local testing
1011
ignore: |
1112
node_modules/
1213
test/**/states/**/*.sls
14+
.kitchen/
1315
1416
yaml-files:
1517
# Default settings
@@ -38,3 +40,6 @@ rules:
3840
# Increase from default of `80`
3941
# Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
4042
max: 88
43+
octal-values:
44+
forbid-implicit-octal: true
45+
forbid-explicit-octal: true

pillar.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ bind:
2323
lookup:
2424
key_directory: '/etc/bind/keys' # Key directory (needed to use auto-dnssec)
2525
key_algorithm: RSASHA256 # Algorithm when using auto-dnssec
26-
key_algorithm_field: 008 # See http://www.bind9.net/dns-sec-algorithm-numbers
26+
key_algorithm_field: '008' # See http://www.bind9.net/dns-sec-algorithm-numbers
2727
key_size: 4096 # Key size
2828

2929
config:

0 commit comments

Comments
 (0)