Skip to content

Commit 700f7f1

Browse files
rtpriobastelfreak
authored andcommitted
also update versions in tests.
1 parent bc35d86 commit 700f7f1

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

spec/classes/letsencrypt_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@
7474
is_expected.to contain_package('letsencrypt').with(name: 'certbot').with_ensure('installed')
7575
is_expected.to contain_file('/etc/letsencrypt').with(ensure: 'directory')
7676
elsif facts[:operatingsystem] == 'FreeBSD'
77-
is_expected.to contain_class('letsencrypt::install').with(package_name: 'py39-certbot')
77+
is_expected.to contain_class('letsencrypt::install').with(package_name: 'py311-certbot')
7878
is_expected.to contain_class('letsencrypt').with(package_command: 'certbot')
79-
is_expected.to contain_package('letsencrypt').with(name: 'py39-certbot').with_ensure('installed')
79+
is_expected.to contain_package('letsencrypt').with(name: 'py311-certbot').with_ensure('installed')
8080
is_expected.to contain_file('/usr/local/etc/letsencrypt').with(ensure: 'directory')
8181
else
8282
is_expected.to contain_class('letsencrypt::install')

spec/classes/plugin/dns_cloudflare_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class { 'letsencrypt':
1818
if %w[Debian RedHat].include?(facts[:os]['family'])
1919
'python3-certbot-dns-cloudflare'
2020
elsif %w[FreeBSD].include?(facts[:os]['family'])
21-
'py39-certbot-dns-cloudflare'
21+
'py311-certbot-dns-cloudflare'
2222
end
2323
end
2424

spec/classes/plugin/dns_rfc2136_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class { 'letsencrypt':
1717
let(:package_name) do
1818
case facts[:os]['family']
1919
when 'FreeBSD'
20-
'py39-certbot-dns-rfc2136'
20+
'py11-certbot-dns-rfc2136'
2121
when 'OpenBSD'
2222
''
2323
else

0 commit comments

Comments
 (0)