diff --git a/manifests/params.pp b/manifests/params.pp index 0720030..fc9b22f 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -19,8 +19,8 @@ $smtpd_recipient_restrictions = 'permit_mynetworks, reject_unauth_destination' $smtpd_data_restrictions = 'reject_unauth_pipelining' - case $facts['os']['family'] { - 'RedHat', 'redhat': { + case $::osfamily { + 'RedHat': { $tls_bundle = '/etc/pki/tls/certs/ca-bundle.crt' $tls_package = 'openssl' }