Skip to content

Commit

Permalink
#2628: server.pp, implement wildcard grant
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff1evesque committed Jul 31, 2016
1 parent 4f3449c commit 3f5b0b4
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -43,19 +43,19 @@
},
},
grants => {
"${db_user}@${host}/${db}.*" => {
"${db_user}@%/${db}.*" => {
ensure => 'present',
options => ['GRANT'],
privileges => ['INSERT', 'DELETE', 'UPDATE', 'SELECT'],
table => "${db}.*",
user => "${db_user}@${host}",
user => "${db_user}@%",
},
"${provisioner}@${host}/${db}.*" => {
"${provisioner}@%/${db}.*" => {
ensure => 'present',
options => ['GRANT'],
privileges => ['INSERT', 'CREATE'],
table => "${db}.*",
user => "${provisioner}@${host}",
user => "${provisioner}@%",
},
},
databases => {
Expand Down

0 comments on commit 3f5b0b4

Please sign in to comment.