Open
Description
Describe the Bug
Creating a new, additional database on mysqlserver (by hand) and granting puppet controlled user privileges on it causes setting of privileges on each puppet run, because the set privileges are not evaluated correctly
Expected Behavior
granting a puppet controlled user privileges on another databases should not cause endless re-setting of privileges for that user
Steps to Reproduce
Steps to reproduce the behavior:
- create a database (eg. database1) with this module
- create a user (eg. user1) with this module
- grant user1 privileges (eg. 'ALL') on database1 with this module
- run puppet multiple times -> no more changes after initial set up
- create a new database (eg. database2) by hand on the system
- grant user1 privileges (eg. 'ALL') on database2
- run puppet (multiple times) -> each puppet run changes the privileges for user1@database1
Environment
- Version 1.13.2.0
- Platform RHEL 8 and 9
Additional Context
I still have another issue ( #1502 ) /pr ( #1503 ) open/existing, which somehow got lost on my desk.
Can I reopen the pr and use it to fix both issues?
Or should I create a new pr for this issue, after the first one is accepted after i fixed it?