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

SASL Digest-MD5 for the ZK Quorum #189

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JeanMichelApeupres
Copy link
Contributor

Hi !

Since ZK 3.4.10, we can have SASL authentication for the quorum (more information here : https://cwiki.apache.org/confluence/display/ZOOKEEPER/Server-Server+mutual+authentication). This PR implements SASL for server2server authentication using Digest-MD5 but can be improved to include Kerberos (I don't have Kerberos in my testing environment) :)

manifests/init.pp Outdated Show resolved Hide resolved
Boolean $quorum_auth_enable_sasl = $zookeeper::params::quorum_auth_enable_sasl,
Boolean $quorum_auth_learner_require_sasl = $zookeeper::params::quorum_auth_learner_require_sasl,
Boolean $quorum_auth_server_require_sasl = $zookeeper::params::quorum_auth_server_require_sasl,
String $quorum_sasl_user = $zookeeper::params::quorum_sasl_user,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

String can't have an undef value unless it's declared as Optional[String]. The same in case of $quorum_sasl_password

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

Successfully merging this pull request may close these issues.

2 participants