-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
(CAT-1281) - Support to add cipher with respective ssl protocol #2440
(CAT-1281) - Support to add cipher with respective ssl protocol #2440
Conversation
7d60a14
to
3d8e2e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not know this was even an Apache option.
Should it also modify the cipher parameter in apache::vhost
?
manifests/mod/ssl.pp
Outdated
@@ -95,7 +95,7 @@ | |||
Optional[Stdlib::Absolutepath] $ssl_cert = undef, | |||
Optional[Stdlib::Absolutepath] $ssl_key = undef, | |||
Optional[Stdlib::Absolutepath] $ssl_ca = undef, | |||
String $ssl_cipher = $apache::params::ssl_cipher, | |||
Variant[String, Array, Hash] $ssl_cipher = $apache::params::ssl_cipher, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why Array
? I don't see code in the template to handle that. And can we further tighten Hash
to Hash[String[1], String[1]]
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your comments, I wasn't aware that we can even define variable that level in puppet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puppet data types are surprisingly powerful and I like them a lot.
1a84d7b
to
5855384
Compare
I have already covered up for vhost here https://github.com/puppetlabs/puppetlabs-apache/pull/2440/files#diff-2842c1252a08a185c551b13fdab39118416a7d296217322d5ebb921c24899397R18-R21 |
5855384
to
9d00180
Compare
9d00180
to
8acbad4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! I was not aware of this. I added in-line comments for some improvements I see.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As you said :-) With this fixed, LGTM!
Summary
Adding support for enable user to pass the different ciphers for different protocols.
Additional Context
Related Issues (if any)
Checklist
puppet apply
)