Changed the backup user grant in backup.pp to use the ensure variable instead of always assuming 'present'
This commit is contained in:
parent
c6acbf5a53
commit
30249552d4
1 changed files with 1 additions and 1 deletions
|
@ -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' ],
|
||||||
|
|
Loading…
Reference in a new issue