Add support for almalinux10 (#210)

This commit is contained in:
hollistermala
2025-07-30 13:13:31 -07:00
committed by GitHub
parent 61a3fae922
commit 9e05c0f0be
10 changed files with 51 additions and 24 deletions

View File

@@ -11,7 +11,9 @@ control 'sasl_auth_none' do
end
end
db_type = ((os.family == 'redhat' && os.release.to_i >= 10) || (os.family == 'suse' && os.release.to_i >= 15)) ? 'lmdb' : 'hash'
describe postfix_conf '/etc/postfix/main.cf' do
its('smtp_sasl_password_maps') { should eq 'hash:/etc/postfix/sasl_passwd' }
its('smtp_sasl_password_maps') { should eq "#{db_type}:/etc/postfix/sasl_passwd" }
end
end