Skip to content

Commit

Permalink
Do not test Puppetserver on Deb 10, do test on Ubuntu 20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl committed Jul 26, 2021
1 parent 0fbcac1 commit 83ffecc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions spec/support/acceptance/puppetserver.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
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['PUPPET_HOST_COLLECTION'] == 'puppet5' && host_inventory['facter']['os']['distro']['codename'] == 'buster'
end
end

0 comments on commit 83ffecc

Please sign in to comment.