Resource Type: mysql_user
- Defined in:
- lib/puppet/type/mysql_user.rb
- Providers:
-
mysql
Overview
Manage a MySQL user. This includes management of users password as well as privileges.
Properties
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
max_connections_per_hour
Max connections per hour for the user. 0 means no (or global) limit.
Supported values:- /\d+/
-
max_queries_per_hour
Max queries per hour for the user. 0 means no (or global) limit.
Supported values:- /\d+/
-
max_updates_per_hour
Max updates per hour for the user. 0 means no (or global) limit.
Supported values:- /\d+/
-
max_user_connections
Max concurrent connections for the user. 0 means no (or global) limit.
Supported values:- /\d+/
-
password_hash
The password hash of the user. Use mysql_password() for creating such a hash.
Supported values:- /\w*/
-
plugin
The authentication plugin of the user.
Supported values:- /\w+/
Parameters
-
name (namevar)
The name of the user. This uses the ‘username@hostname’ or username@hostname.
-
provider
The specific backend to use for this ‘mysql_user` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.