Merge pull request #539 from stevesaliman/master

Grants for the backupuser should be conditional
This commit is contained in:
I'm on Vacation until 18th of July 2014-07-23 12:35:50 +02:00
commit 46643523ce

View file

@ -26,7 +26,7 @@ class mysql::server::backup (
} }
mysql_grant { "${backupuser}@localhost/*.*": mysql_grant { "${backupuser}@localhost/*.*":
ensure => present, ensure => $ensure,
user => "${backupuser}@localhost", user => "${backupuser}@localhost",
table => '*.*', table => '*.*',
privileges => [ 'SELECT', 'RELOAD', 'LOCK TABLES', 'SHOW VIEW', 'PROCESS' ], privileges => [ 'SELECT', 'RELOAD', 'LOCK TABLES', 'SHOW VIEW', 'PROCESS' ],