Skip to content

Commit 386c2ee

Browse files
authored
Merge pull request #296 from voxpupuli/freebsd-python-version
2 parents af63906 + 8ce3316 commit 386c2ee

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

data/FreeBSD-family.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
letsencrypt::package_name: 'py38-certbot'
2+
letsencrypt::package_name: 'py39-certbot'
33
letsencrypt::config_dir: '/usr/local/etc/letsencrypt'
44
letsencrypt::cron_owner_group: 'wheel'
5-
letsencrypt::plugin::dns_rfc2136::package_name: 'py38-certbot-dns-rfc2136'
6-
letsencrypt::plugin::dns_route53::package_name: 'py38-certbot-dns-route53'
7-
letsencrypt::plugin::dns_cloudflare::package_name: 'py38-certbot-dns-cloudflare'
5+
letsencrypt::plugin::dns_rfc2136::package_name: 'py39-certbot-dns-rfc2136'
6+
letsencrypt::plugin::dns_route53::package_name: 'py39-certbot-dns-route53'
7+
letsencrypt::plugin::dns_cloudflare::package_name: 'py39-certbot-dns-cloudflare'

spec/classes/letsencrypt_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@
7676
is_expected.to contain_package('letsencrypt').with(name: 'certbot')
7777
is_expected.to contain_file('/etc/letsencrypt').with(ensure: 'directory')
7878
elsif facts[:operatingsystem] == 'FreeBSD'
79-
is_expected.to contain_class('letsencrypt::install').with(package_name: 'py38-certbot')
79+
is_expected.to contain_class('letsencrypt::install').with(package_name: 'py39-certbot')
8080
is_expected.to contain_class('letsencrypt').with(package_command: 'certbot')
81-
is_expected.to contain_package('letsencrypt').with(name: 'py38-certbot')
81+
is_expected.to contain_package('letsencrypt').with(name: 'py39-certbot')
8282
is_expected.to contain_file('/usr/local/etc/letsencrypt').with(ensure: 'directory')
8383
else
8484
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
@@ -23,7 +23,7 @@ class { 'letsencrypt':
2323
elsif %w[Debian RedHat].include?(facts[:os]['family'])
2424
'python3-certbot-dns-cloudflare'
2525
elsif %w[FreeBSD].include?(facts[:os]['family'])
26-
'py38-certbot-dns-cloudflare'
26+
'py39-certbot-dns-cloudflare'
2727
end
2828
end
2929

spec/classes/plugin/dns_rfc2136_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class { 'letsencrypt':
2424
when 'RedHat-7', 'CentOS-7'
2525
'python2-certbot-dns-rfc2136'
2626
when 'FreeBSD-12', 'FreeBSD-13'
27-
'py38-certbot-dns-rfc2136'
27+
'py39-certbot-dns-rfc2136'
2828
end
2929
end
3030

spec/classes/plugin/dns_route53_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class { 'letsencrypt':
2424
when 'RedHat-7', 'CentOS-7'
2525
'python2-certbot-dns-route53'
2626
when 'FreeBSD-12', 'FreeBSD-13'
27-
'py38-certbot-dns-route53'
27+
'py39-certbot-dns-route53'
2828
end
2929
end
3030

0 commit comments

Comments
 (0)