Skip to content

Commit

Permalink
Merge pull request #460 from puppetlabs/CAT-2100-add-debian12-support
Browse files Browse the repository at this point in the history
(CAT-2100) Add Debian 12 support
  • Loading branch information
shubhamshinde360 authored Oct 24, 2024
2 parents 566df55 + 603ac3b commit f83480c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ fixtures:
provision: 'https://github.com/puppetlabs/provision.git'
puppet_agent:
repo: 'https://github.com/puppetlabs/puppetlabs-puppet_agent.git'
ref: v4.13.0
ref: v4.21.0
forge_modules:
chocolatey: "puppetlabs/chocolatey"
java: "puppetlabs/java"
Expand Down
3 changes: 2 additions & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"operatingsystem": "Debian",
"operatingsystemrelease": [
"10",
"11"
"11",
"12"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion spec/acceptance/pkcs12_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
idempotent_apply(pp)

expectations = if os[:family] == 'windows' || (os[:family] == 'ubuntu' && ['20.04', '22.04'].include?(os[:release])) ||
(os[:family] == 'debian' && os[:release] =~ %r{^11})
(os[:family] == 'debian' && os[:release] =~ %r{^11|12})
[
%r{Alias name: leaf cert},
%r{Entry type: (keyEntry|PrivateKeyEntry)},
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper_acceptance_local.rb
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class { 'java': }
when 'ubuntu'
@ensure_ks = 'present' if ['20.04', '22.04'].include?(os[:release])
when 'debian'
@ensure_ks = 'present' if os[:release].match?(%r{^11})
@ensure_ks = 'present' if os[:release].match?(%r{^11|12})
end
end
end

0 comments on commit f83480c

Please sign in to comment.