Skip to content

Commit

Permalink
Merge pull request #42 from jan-win1993/fix-unit-tests
Browse files Browse the repository at this point in the history
Adjust package name in unit test for Debian 11
  • Loading branch information
fraenki authored Mar 7, 2023
2 parents 5875130 + db4fc76 commit 404712e
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 404712e

Please sign in to comment.