Skip to content

Commit

Permalink
#3208: server.pp, add additional privileges
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff1evesque committed Mar 23, 2018
1 parent 4c740b6 commit 138dbdb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
max_updates_per_hour => '0',
max_user_connections => '1',
password_hash => mysql_password($provisioner_pass),
privileges => ['CREATE ROUTINE'],
},
"${tester}@${db_host}" => {
ensure => 'present',
Expand All @@ -63,7 +62,7 @@
"${provisioner}@${db_host}/${db}.*" => {
ensure => 'present',
options => ['GRANT'],
privileges => ['INSERT', 'CREATE'],
privileges => ['INSERT', 'CREATE', 'EXECUTE', 'CREATE ROUTINE', 'ALTER ROUTINE'],
table => "${db}.*",
user => "${provisioner}@${db_host}",
},
Expand Down

0 comments on commit 138dbdb

Please sign in to comment.