diff --git a/manifests/server.pp b/manifests/server.pp index 0c847f8..729d706 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -70,7 +70,11 @@ if $ssl_database_password == undef { fail('ssl_database_passowrd must be set') } - if $::operatingsystem == 'Fedora' and is_integer($::operatingsystemrelease) and $::operatingsystemrelease <= 19 { + if (( $::operatingsystem == 'Fedora' and + is_integer($::operatingsystemrelease) and + $::operatingsystemrelease <= 19 ) or + ( $::operatingsystem in ['RedHat', 'Centos', 'Scientific'] and + $::operatingsystemrelease < 7 )) { package { $ssl_package_name: ensure => $ssl_package_ensure, before => Nssdb::Create['qpidd'],