Merge pull request #539 from stevesaliman/master
Grants for the backupuser should be conditional
This commit is contained in:
commit
46643523ce
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class mysql::server::backup (
|
|||
}
|
||||
|
||||
mysql_grant { "${backupuser}@localhost/*.*":
|
||||
ensure => present,
|
||||
ensure => $ensure,
|
||||
user => "${backupuser}@localhost",
|
||||
table => '*.*',
|
||||
privileges => [ 'SELECT', 'RELOAD', 'LOCK TABLES', 'SHOW VIEW', 'PROCESS' ],
|
||||
|
|
Loading…
Reference in a new issue