Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not enable rabbitmq ssl for empty cert or key #1053

Merged
merged 1 commit into from
Jan 27, 2019

Conversation

treydock
Copy link
Collaborator

@treydock treydock commented Jan 22, 2019

Pull Request Checklist

Description

If sensu:: rabbitmq_ssl_private_key and sensu:: rabbitmq_ssl_cert_chain are empty, do not enable rabbitmq ssl if sensu::rabbitmq_ssl is false.

Related Issue

Resolves #1050

Motivation and Context

This treats the module parameter values of empty strings for key and cert the same as if the sensu_rabbitmq_config type is used directly. For that type empty cert and key will not enable SSL as those are the defaults.

How Has This Been Tested?

General

  • Update README.md with any necessary configuration snippets

  • New parameters are documented

  • New parameters have tests

  • Tests pass - bundle exec rake validate lint spec

@treydock
Copy link
Collaborator Author

Took existing sensu-server Vagrant VM and re-ran provision and no changes occurred so default behavior is retained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TripleO and Sensu without ssl, ssl still enabled in rabbitmq.json
2 participants