Skip to content

Commit ce2f9fa

Browse files
bastelfreakevgeni
authored andcommitted
Enable acceptance testing for Debian 12 puppetserver
initially there was no puppetserver package for Debian 12, so the tests were disabled. Sadly there's just a single package: https://apt.puppet.com/pool/bookworm/puppet8/p/puppetserver/index.html So we cannot test puppetserver upgrades.
1 parent fe41448 commit ce2f9fa

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

spec/support/acceptance/puppetserver.rb

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ def unsupported_puppetserver
44
true
55
when 'Fedora'
66
true
7-
when 'Debian'
8-
host_inventory['facter']['os']['release']['major'] == '12'
97
end
108
end
119

1210
def unsupported_puppetserver_upgrade
13-
# currently none
14-
false
11+
case host_inventory['facter']['os']['name']
12+
when 'Archlinux'
13+
true
14+
when 'Fedora'
15+
true
16+
when 'Debian'
17+
host_inventory['facter']['os']['release']['major'] == '12'
18+
end
1519
end

0 commit comments

Comments
 (0)