Skip to content

Commit

Permalink
Adjust package name in unit test for Debian 11
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-win1993 committed Mar 7, 2023
1 parent 5875130 commit db4fc76
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/classes/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
expected_base_dir = '/etc/proftpd'
expected_log_dir = '/var/log/proftpd'
expected_run_dir = '/var/run/proftpd'
expected_packages = ['proftpd-basic']
expected_packages = if facts[:os]['distro']['codename'] == 'bullseye'
['proftpd-core']
else
['proftpd-basic']
end
expected_service_name = 'proftpd'
when 'RedHat'
expected_config = '/etc/proftpd.conf'
Expand Down

0 comments on commit db4fc76

Please sign in to comment.