Resource Type: mysql_grant

Defined in:
lib/puppet/type/mysql_grant.rb
Providers:
mysql

Overview

@summary Manage a MySQL user’s rights.

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • options

    Options to grant.

  • privileges

    Privileges for user

  • table

    Table to apply privileges to.

    Supported values:
    • %r{.*\..*}
    • %r{^[0-9a-zA-Z$_]*@[\w%\.:\-/]*$}
  • user

    User to operate on.

Parameters

  • name (namevar)

    Name to describe the grant.

  • provider

    The specific backend to use for this ‘mysql_grant` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.