Skip to content

Commit

Permalink
Do not test Puppetserver 5 on Debian 10
Browse files Browse the repository at this point in the history
This was never built so there's nothing to test
  • Loading branch information
ekohl committed Jul 26, 2021
1 parent 0fbcac1 commit f04d268
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions spec/support/acceptance/puppetserver.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
def unsupported_puppetserver
host_inventory['facter']['os']['name'] == 'Fedora' ||
(host_inventory['facter']['os']['name'] == 'Ubuntu' && host_inventory['facter']['os']['distro']['codename'] == 'focal')
case host_inventory['facter']['os']['name']
when 'Fedora'
true
when 'Debian'
ENV['BEAKER_PUPPET_COLLECTION'] == 'puppet5' && host_inventory['facter']['os']['distro']['codename'] == 'buster'
when 'Ubuntu'
ENV['BEAKER_PUPPET_COLLECTION'] == 'puppet6' && host_inventory['facter']['os']['distro']['codename'] == 'focal'
end
end

0 comments on commit f04d268

Please sign in to comment.