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:
parent
626a28c4ab
commit
6fee40bd23
@ -28,6 +28,6 @@ skip_tests = \
|
|||||||
--no-autoloader_layout-check \
|
--no-autoloader_layout-check \
|
||||||
--no-documentation-check
|
--no-documentation-check
|
||||||
commands =
|
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}"
|
bash -c "find {toxinidir} -name \*.pp -print0 | xargs -0 puppet-lint --fail-on-warnings {[testenv:puppetlint]skip_tests}"
|
||||||
|
|
||||||
|
@ -27,6 +27,6 @@ setenv =
|
|||||||
skip_tests = \
|
skip_tests = \
|
||||||
--no-documentation-check
|
--no-documentation-check
|
||||||
commands =
|
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}"
|
bash -c "find {toxinidir} -name \*.pp -print0 | xargs -0 puppet-lint --fail-on-warnings {[testenv:puppetlint]skip_tests}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user