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 <don.penney@windriver.com>
This commit is contained in:
Don Penney 2019-01-02 15:27:09 -05:00
parent 626a28c4ab
commit 6fee40bd23
2 changed files with 2 additions and 2 deletions

View File

@ -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}"

View File

@ -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}"