Skip to content

Commit

Permalink
#3208: server.pp, grant 'CREATE ROUTINE' on db level
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff1evesque committed Mar 23, 2018
1 parent 9b4fbdf commit b2589ef
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions puppet/environment/docker/modules/mariadb/manifests/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@
table => "${db}.*",
user => "${provisioner}@${db_host}",
},
"${provisioner}@${db_host}/${db}.*" => {
ensure => 'present',
options => ['GRANT'],
privileges => ['CREATE ROUTINE'],
user => "${provisioner}@${db_host}",
},
"${tester}@${db_host}/${db}.*" => {
ensure => 'present',
options => ['GRANT'],
Expand All @@ -84,6 +78,9 @@
$db => {
ensure => 'present',
charset => 'utf8',
user => $provisioner,
host => $db_host,
grant => ['CREATE ROUTINE'],
},
},
override_options => {
Expand Down

0 comments on commit b2589ef

Please sign in to comment.