From 004b1a86db77204ab6eff7cc38eb24ec4aa61c8d Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Mon, 7 Oct 2019 19:08:57 +0100 Subject: [PATCH 1/2] chore(yamllint): update ignored paths and add `octal-values` * Automated using https://github.com/myii/ssf-formula/pull/59 --- .yamllint | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.yamllint b/.yamllint index 944472d..1eae656 100644 --- a/.yamllint +++ b/.yamllint @@ -7,9 +7,11 @@ extends: default # Files to ignore completely # 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 +# 3. Any YAML files under directory `.kitchen/`, introduced during local testing ignore: | node_modules/ test/**/states/**/*.sls + .kitchen/ yaml-files: # Default settings @@ -38,3 +40,6 @@ rules: # Increase from default of `80` # Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`) max: 88 + octal-values: + forbid-implicit-octal: true + forbid-explicit-octal: true From eb29e00d253eedd24b325d1a4e9d8de367f5317b Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Mon, 7 Oct 2019 19:10:13 +0100 Subject: [PATCH 2/2] fix(pillar.example): fix `yamllint` error * https://travis-ci.org/myii/bind-formula/builds/594704904#L211-L213 ```bash $ yamllint -s . ./pillar.example 26:29 error forbidden implicit octal value "008" (octal-values) ``` --- pillar.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pillar.example b/pillar.example index 7ea277b..5288aac 100644 --- a/pillar.example +++ b/pillar.example @@ -23,7 +23,7 @@ bind: lookup: key_directory: '/etc/bind/keys' # Key directory (needed to use auto-dnssec) key_algorithm: RSASHA256 # Algorithm when using auto-dnssec - key_algorithm_field: 008 # See http://www.bind9.net/dns-sec-algorithm-numbers + key_algorithm_field: '008' # See http://www.bind9.net/dns-sec-algorithm-numbers key_size: 4096 # Key size config: