From fb12ec0ea61a7c90dfead91ab2b2bd8791e884f9 Mon Sep 17 00:00:00 2001 From: Lukas Bezdicka Date: Tue, 17 Jun 2014 15:21:55 +0200 Subject: [PATCH 1/2] Install qpid-cpp-server-ssl on all RHEL6 based systems --- manifests/server.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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'], From 6398eb8f545fd69b22aad3234642ef310e4c88a1 Mon Sep 17 00:00:00 2001 From: Lukas Bezdicka Date: Tue, 17 Jun 2014 15:22:53 +0200 Subject: [PATCH 2/2] Set $max_connections to 65530 as thats hardlimit of qpidd --- manifests/server.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/server.pp b/manifests/server.pp index 729d706..c41cc9a 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -10,7 +10,7 @@ $service_enable = true, $manage_service = true, $port = '5672', - $max_connections = '65535', + $max_connections = '65530', $worker_threads = '17', $connection_backlog = '10', $auth = 'no',