Skip to content

mysql_grant is not idempotent  #314

Closed
@gildas

Description

@gildas

when used as a standalone type or from mysql::db, mysql_grant will always grant the permissions even if these permissions are already granted.
As a consequence, the node is marked as "changed" in Dashboard or any other reporting tool.

mysql_grant should check the permissions first, and grant the new ones only if they are not already granted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions