[Change Request] Use single quotes for the mysql backup cronjob.

Ricky Zhou ricky at fedoraproject.org
Fri Mar 20 02:46:23 UTC 2009


This has been causing us to get extra cron spam (and stalling mysql
updates).  I doubt anybody would consider this very risky :-)

---
 manifests/services/db.pp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/manifests/services/db.pp b/manifests/services/db.pp
index fbed669..b5a7a29 100644
--- a/manifests/services/db.pp
+++ b/manifests/services/db.pp
@@ -37,7 +37,7 @@ class mysqlBackup {
     }
 
     cron { mysql-backup:
-        command => "time /bin/sleep $(($RANDOM/20)) ; /var/lib/mysql/save-mysql",
+        command => 'time /bin/sleep $(($RANDOM/20)) ; /var/lib/mysql/save-mysql',
         user => mysql,
         minute => 40,
         hour => [ 2,8,14,20 ],
-- 
1.5.5.6

Thanks,
Ricky
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-infrastructure-list/attachments/20090319/fbb8b42f/attachment.sig>


More information about the Fedora-infrastructure-list mailing list