Added ssl profile to template

This commit is contained in:
Andrew Smith 2016-04-07 16:36:53 -04:00
parent 2bf487006b
commit 1495562f9e
2 changed files with 13 additions and 4 deletions

View File

@ -60,10 +60,10 @@ class qdr::params {
# listener attributes
$listener_addr = '127.0.0.1'
$listener_port = '5672'
$listener_ssl_cert_db = 'UNSET'
$listener_ssl_cert_file = 'UNSET'
$listener_ssl_key_file = 'UNSET'
$listener_ssl_pw_file = 'UNSET'
$listener_ssl_cert_db = undef
$listener_ssl_cert_file = undef
$listener_ssl_key_file = undef
$listener_ssl_pw_file = undef
$listener_ssl_password = undef
$listener_sasl_mech = 'ANONYMOUS,DIGEST-MD5,EXTERNAL,PLAIN'
$listener_auth_peer = 'no'

View File

@ -33,10 +33,19 @@ router {
routerId: <%= @router_id %>
}
sslProfile {
name: <%= @container_name %>
certDb: <%= @listener_ssl_cert_db %>
certFile: <%= @listener_ssl_cert_file %>
keyFile: <%= @listener_ssl_key_file %>
}
listener {
addr: <%= @listener_addr %>
port: <%= @listener_port %>
sslProfile: <%= @container_name %>
authenticatePeer: <%= @listener_auth_peer %>
saslMechanisms: <%= @listener_sasl_mech %>
}
fixedAddress {