Skip to content

fix regex to allow database names to contain "-" in role@db syntax #772

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

Merged
merged 2 commits into from
Jun 6, 2025

Conversation

dermsd
Copy link
Contributor

@dermsd dermsd commented Apr 2, 2025

Pull Request (PR) description

Fix regex in lib/puppet/type/mongodb_user.rb to allow the same database names as allowed in lib/puppet/type/mongodb_database.rb

This Pull Request (PR) fixes the following issues

Fixes #771

@h-haaks
Copy link
Contributor

h-haaks commented Jun 6, 2025

@dermsd I've fixed the test issues. Could you please rebase the branch?

@h-haaks
Copy link
Contributor

h-haaks commented Jun 6, 2025

ah REFERENCE.md is outdated.
Run bundle exec rake strings:generate:reference to update it.

@h-haaks h-haaks merged commit 28d71fd into voxpupuli:master Jun 6, 2025
137 checks passed
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.

granting roles using role@db syntax does not allow db names containing "-"
2 participants