Skip to content

Commit

Permalink
also update versions in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtprio authored and bastelfreak committed Sep 9, 2024
1 parent bc35d86 commit 700f7f1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions spec/classes/letsencrypt_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@
is_expected.to contain_package('letsencrypt').with(name: 'certbot').with_ensure('installed')
is_expected.to contain_file('/etc/letsencrypt').with(ensure: 'directory')
elsif facts[:operatingsystem] == 'FreeBSD'
is_expected.to contain_class('letsencrypt::install').with(package_name: 'py39-certbot')
is_expected.to contain_class('letsencrypt::install').with(package_name: 'py311-certbot')
is_expected.to contain_class('letsencrypt').with(package_command: 'certbot')
is_expected.to contain_package('letsencrypt').with(name: 'py39-certbot').with_ensure('installed')
is_expected.to contain_package('letsencrypt').with(name: 'py311-certbot').with_ensure('installed')
is_expected.to contain_file('/usr/local/etc/letsencrypt').with(ensure: 'directory')
else
is_expected.to contain_class('letsencrypt::install')
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/plugin/dns_cloudflare_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class { 'letsencrypt':
if %w[Debian RedHat].include?(facts[:os]['family'])
'python3-certbot-dns-cloudflare'
elsif %w[FreeBSD].include?(facts[:os]['family'])
'py39-certbot-dns-cloudflare'
'py311-certbot-dns-cloudflare'
end
end

Expand Down
2 changes: 1 addition & 1 deletion spec/classes/plugin/dns_rfc2136_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class { 'letsencrypt':
let(:package_name) do
case facts[:os]['family']
when 'FreeBSD'
'py39-certbot-dns-rfc2136'
'py11-certbot-dns-rfc2136'
when 'OpenBSD'
''
else
Expand Down

0 comments on commit 700f7f1

Please sign in to comment.