Skip to content

Commit

Permalink
(IAC-1725) - Changes to account for Debian 11
Browse files Browse the repository at this point in the history
  • Loading branch information
david22swan committed Aug 12, 2021
1 parent 0f4a749 commit 72c1011
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/acceptance/pkcs12_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@

idempotent_apply(pp)

expectations = if os[:family] == 'windows' || (os[:family] == 'ubuntu' && os[:release] == '20.04')
expectations = if os[:family] == 'windows' || (os[:family] == 'ubuntu' && os[:release] == '20.04') ||
(os[:family] == 'debian' && os[:release] =~ %r{^11})
[
%r{Alias name: leaf cert},
%r{Entry type: (keyEntry|PrivateKeyEntry)},
Expand Down
2 changes: 2 additions & 0 deletions spec/spec_helper_acceptance_local.rb
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@ class { 'java': }
@resource_path = "['C:/Program Files/Java/jdk1.#{java_major}.0_#{java_minor}/bin/']"
when 'ubuntu'
@ensure_ks = 'present' if os[:release] == '20.04'
when 'debian'
@ensure_ks = 'present' if os[:release].match?(%r{^11})
end
end
end

0 comments on commit 72c1011

Please sign in to comment.