commit 7eda722405d301fbd1b13cfc701fa9491c600a7b 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 diff --git a/puppet-openstack_spec_helper.gemspec b/puppet-openstack_spec_helper.gemspec index 739c26a..6d91a4e 100644 --- a/puppet-openstack_spec_helper.gemspec +++ b/puppet-openstack_spec_helper.gemspec @@ -39,7 +39,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.