Skip to content

Commit

Permalink
Update FreeBSD package name
Browse files Browse the repository at this point in the history
Python 2.7 has reached EOL.
  • Loading branch information
smortex committed Oct 3, 2021
1 parent 342e492 commit 7434bea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/FreeBSD-family.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
letsencrypt::package_name: 'py27-certbot'
letsencrypt::package_name: 'py38-certbot'
letsencrypt::config_dir: '/usr/local/etc/letsencrypt'
letsencrypt::cron_owner_group: 'wheel'
4 changes: 2 additions & 2 deletions spec/classes/letsencrypt_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@
is_expected.to contain_package('letsencrypt').with(name: 'certbot')
is_expected.to contain_file('/etc/letsencrypt').with(ensure: 'directory')
elsif facts[:operatingsystem] == 'FreeBSD'
is_expected.to contain_class('letsencrypt::install').with(package_name: 'py27-certbot')
is_expected.to contain_class('letsencrypt::install').with(package_name: 'py38-certbot')
is_expected.to contain_class('letsencrypt').with(package_command: 'certbot')
is_expected.to contain_package('letsencrypt').with(name: 'py27-certbot')
is_expected.to contain_package('letsencrypt').with(name: 'py38-certbot')
is_expected.to contain_file('/usr/local/etc/letsencrypt').with(ensure: 'directory')
else
is_expected.to contain_class('letsencrypt::install')
Expand Down

0 comments on commit 7434bea

Please sign in to comment.