Skip to content

Commit

Permalink
Skip acceptance tests on Puppet 6 / Debian 11
Browse files Browse the repository at this point in the history
No puppetserver6 / puppetdb6 packages are available for Debian 11.
  • Loading branch information
smortex committed Mar 28, 2022
1 parent 56cd9ac commit ee80856
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/acceptance/class_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

require 'spec_helper_acceptance'

describe 'puppetboard class' do
RSpec.configure do |c|
c.filter_run_excluding "broken_#{fact('os.name')}#{fact('os.release.major')}_puppet#{ENV['BEAKER_PUPPET_COLLECTION'].sub(%r{puppet}, '')}".downcase.to_sym => true
end

describe 'puppetboard class', broken_debian11_puppet6: true do
case fact('os.family')
when 'RedHat'
apache_conf_file = '/etc/httpd/conf.d/25-puppetboard.conf'
Expand Down

0 comments on commit ee80856

Please sign in to comment.