diff --git a/.github/workflows/pr_tests.yml b/.github/workflows/pr_tests.yml index ec9bb33a..1780c4a7 100644 --- a/.github/workflows/pr_tests.yml +++ b/.github/workflows/pr_tests.yml @@ -109,14 +109,17 @@ jobs: strategy: matrix: puppet: - - label: 'Puppet 7.x' - puppet_version: '~> 7.21.0' + - label: 'Puppet 7.x [SIMP 6.6/PE 2021.7]' + puppet_version: '~> 7.0' ruby_version: '2.7' + experimental: false - label: 'Puppet 8.x' puppet_version: '~> 8.0' - ruby_version: '3.2' + ruby_version: 3.1 + experimental: true + fail-fast: false env: - PUPPET_VERSION: '${{matrix.puppet.puppet_version}}' + PUPPET_VERSION: ${{matrix.puppet.puppet_version}} steps: - uses: actions/checkout@v3 - name: 'Install Ruby ${{matrix.puppet.ruby_version}}' @@ -126,6 +129,7 @@ jobs: bundler-cache: true - run: 'command -v rpm || if command -v apt-get; then sudo apt-get update; sudo apt-get install -y rpm; fi ||:' - run: 'bundle exec rake spec' + continue-on-error: ${{matrix.puppet.experimental}} # dump_contexts: # name: 'Examine Context contents' diff --git a/.gitignore b/.gitignore index 706aeb61..410b0679 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ dist /junit /log /doc +/Gemfile.lock diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1c3fe7fd..fa3ade99 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -340,6 +340,7 @@ pup7.pe-unit: <<: *pup_7_pe <<: *unit_tests +# Commenting until Puppet 8 is released #pup8.x-unit: # <<: *pup_8_x # <<: *unit_tests diff --git a/.puppet-lint.rc b/.puppet-lint.rc index 3d41f0bf..eb567699 100644 --- a/.puppet-lint.rc +++ b/.puppet-lint.rc @@ -9,7 +9,7 @@ --no-class_inherits_from_params_class-check --no-140chars-check --no-trailing_comma-check ---no-empty_string_assignment-check +--no-params-empty-string-assignment-check # This is here because the code can't handle lookups in parameters and SIMP # modules have a LOT of those --no-parameter_order-check diff --git a/Gemfile b/Gemfile index 73906ba8..57fca16b 100644 --- a/Gemfile +++ b/Gemfile @@ -21,7 +21,6 @@ group :test do gem 'puppetlabs_spec_helper' gem 'metadata-json-lint' gem 'puppet-strings' - gem 'puppet-lint-empty_string-check', :require => false gem 'puppet-lint-trailing_comma-check', :require => false gem 'simp-rspec-puppet-facts', ENV['SIMP_RSPEC_PUPPET_FACTS_VERSION'] || '~> 3.1' gem 'simp-rake-helpers', ENV['SIMP_RAKE_HELPERS_VERSION'] || ['>= 5.12.1', '< 6'] diff --git a/REFERENCE.md b/REFERENCE.md index 4e6c97de..5422f99b 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -23,9 +23,9 @@ They will deliberately step on one another. The following parameters are available in the `acpid` class: -* [`ensure`](#ensure) +* [`ensure`](#-acpid--ensure) -##### `ensure` +##### `ensure` Data type: `String`