dev/provisioning/modules/mysql/examples/mysql_grant.pp
author ymh <ymh.work@gmail.com>
Fri, 21 Oct 2016 09:26:28 +0200
changeset 379 0b14f178ca53
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
No limitation on the number of item at this level. It has already been checked when preparing the query parameters
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
28
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
mysql_grant{'test1@localhost/redmine.*':
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
  user       => 'test1@localhost',
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
  table      => 'redmine.*',
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
  privileges => ['UPDATE'],
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
}