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
Add resources to manage databases and users #187
Conversation
Looks good to me! If you would be so kind has to update the the CHANGELOG and the README that would be great 👍 |
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.
LGTM
Thanks for your feedback. I have updated the CHANGELOG and README. |
I've added a new test suite "resources" which pass successfully. I think the failure on the other suites are temporary (apt repository not reachable) and not related to my changes. |
@shoekstra Can you please review ? |
This is brilliant. thanks very much @stissot ! merging in now the tests pass. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This adds 2 new Custom Resources
mariadb_database
to manage databases and run queries on them, andmariadb_user
to grant access to users. This used to be provided by the now deprecateddatabase
cookbook.Usage example
The resources use the
mysql2
gem (automatically installed when missing) to established a control connection to the MariaDB server (by default as root@localhost using password).Integration tests are included using Inspec.
I haven't updated the README yet, I'm waiting for maintainers' approval first.