Commit d6e61561 authored by Steve Traylen's avatar Steve Traylen
Browse files

Install s-nail package on CentOS/RHEL 9

For CentOS 9 and RHEL 9 the `mailx` and `mail` commands
are provided by the package `s-nail` rather than
`mailx`.

For information: https://www.sdaoden.eu/code.html#s-nail
parent fd273052
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
---

postfix::params::mailx_package: 's-nail'
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ describe 'postfix class' do
      it { is_expected.to be_running }
    end

    describe file('/etc/aliases') do
    describe file('/etc/aliases', '/usr/bin/mailx') do
      it { is_expected.to exist }
    end
  end