Skip to content

Commit

Permalink
Merge pull request #268 from patrick-minted/fix_rabbitmq_ssl
Browse files Browse the repository at this point in the history
fix rabbitmq ssl config
  • Loading branch information
jlambert121 committed Nov 14, 2014
2 parents 683ad19 + 30bd3f2 commit e907fe8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion manifests/rabbitmq/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,11 @@
} else {
$ssl_private_key = $sensu::rabbitmq_ssl_private_key
}
$enable_ssl = true
} else {
$ssl_cert_chain = undef
$ssl_private_key = undef
$enable_ssl = $sensu::rabbitmq_ssl
}

file { '/etc/sensu/conf.d/rabbitmq.json':
Expand All @@ -74,7 +76,7 @@
user => $sensu::rabbitmq_user,
password => $sensu::rabbitmq_password,
vhost => $sensu::rabbitmq_vhost,
ssl_transport => $sensu::rabbitmq_ssl,
ssl_transport => $enable_ssl,
ssl_cert_chain => $ssl_cert_chain,
ssl_private_key => $ssl_private_key,
}
Expand Down

0 comments on commit e907fe8

Please sign in to comment.