From 138dbdb43ef5bb3510eed6cbb4ba8befcfc5b54c Mon Sep 17 00:00:00 2001 From: "Jeffrey M. Levesque" Date: Fri, 23 Mar 2018 11:45:03 -0400 Subject: [PATCH] #3208: server.pp, add additional privileges --- puppet/environment/docker/modules/mariadb/manifests/server.pp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/puppet/environment/docker/modules/mariadb/manifests/server.pp b/puppet/environment/docker/modules/mariadb/manifests/server.pp index b9c9b793b..5d6d4f292 100644 --- a/puppet/environment/docker/modules/mariadb/manifests/server.pp +++ b/puppet/environment/docker/modules/mariadb/manifests/server.pp @@ -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', @@ -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}", },