From 30249552d4180a1967276aeef70af139b06cc519 Mon Sep 17 00:00:00 2001 From: Steve Saliman Date: Fri, 11 Jul 2014 11:25:10 -0600 Subject: [PATCH] Changed the backup user grant in backup.pp to use the ensure variable instead of always assuming 'present' --- manifests/server/backup.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/server/backup.pp b/manifests/server/backup.pp index 944142c..6e9ecde 100644 --- a/manifests/server/backup.pp +++ b/manifests/server/backup.pp @@ -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' ],