From 6fee40bd23c7c3f3108c07197858107476beb486 Mon Sep 17 00:00:00 2001 From: Don Penney Date: Wed, 2 Jan 2019 15:27:09 -0500 Subject: [PATCH] Update puppet module tox.ini files for puppet-lint When running "tox -e puppetlint" manually, the tox.ini will install puppet-lint via gem, but does not automatically install the json module upon which puppet-lint depends. This commit adds json to the gem install command. Change-Id: Ib8b6133395bf76748a8bcac0cb7bd718a89d6d5a Story: 2004515 Task: 28704 Signed-off-by: Don Penney --- puppet-manifests/tox.ini | 2 +- puppet-modules-wrs/tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/puppet-manifests/tox.ini b/puppet-manifests/tox.ini index 3e8227b74f..19e4a409e2 100644 --- a/puppet-manifests/tox.ini +++ b/puppet-manifests/tox.ini @@ -28,6 +28,6 @@ skip_tests = \ --no-autoloader_layout-check \ --no-documentation-check commands = - gem install --no-document puppet-lint + gem install --no-document json puppet-lint bash -c "find {toxinidir} -name \*.pp -print0 | xargs -0 puppet-lint --fail-on-warnings {[testenv:puppetlint]skip_tests}" diff --git a/puppet-modules-wrs/tox.ini b/puppet-modules-wrs/tox.ini index 488b79702a..8e0bfa7488 100644 --- a/puppet-modules-wrs/tox.ini +++ b/puppet-modules-wrs/tox.ini @@ -27,6 +27,6 @@ setenv = skip_tests = \ --no-documentation-check commands = - gem install --no-document puppet-lint + gem install --no-document json puppet-lint bash -c "find {toxinidir} -name \*.pp -print0 | xargs -0 puppet-lint --fail-on-warnings {[testenv:puppetlint]skip_tests}"