commit 2d858f2ca4801dba89697501e0efb76cd805b89b Author: Takashi Kajinami Date: Thu Oct 8 07:44:06 2020 +0900 Pin puppet-lint-param-docs puppet-lint-param-docs 1.6.0 introduced several new rules and stable branches are incomptatible with these rules. Let's pin it to the older version because we don't want to update stable branches to follow the latest lint rules. Closes-Bug: #1898876 Change-Id: I237272bd9afaaf1d82ead341368af985073326ca (cherry picked from commit 7eda722405d301fbd1b13cfc701fa9491c600a7b) (cherry picked from commit 56eabef30f520ba7c5da7d5883d7e310b7928f13) diff --git a/puppet-openstack_spec_helper.gemspec b/puppet-openstack_spec_helper.gemspec index d25b2fc..800472e 100644 --- a/puppet-openstack_spec_helper.gemspec +++ b/puppet-openstack_spec_helper.gemspec @@ -35,7 +35,10 @@ Gem::Specification.new do |spec| rspec_puppet_facts_version = RUBY_VERSION < '2.1.0' ? ['>= 1.7.0', '< 1.9.5'] : ['>= 1.7.0'] spec.add_dependency 'rspec-puppet-facts', rspec_puppet_facts_version spec.add_dependency 'metadata-json-lint' - spec.add_dependency 'puppet-lint-param-docs' + + # NOTE(tkajinam): Use puppet-lint-param-docs 1.5.1 because stable branches are not compatible + # with new rules enforced in 1.6.0 + spec.add_dependency 'puppet-lint-param-docs', ['= 1.5.1'] # TODO(tobias-urdin): Use puppet-lint-absolute_classname-check >= 2.0.0 for Ruby version >= 2.1.0 # when we have fixed all the absolute includes to relative.