Fix lodgeit cron

A '%' sign was not escaped correctly causing a cron error when triggering backups

Change-Id: Icd5f78d0a310520a979f24418c41755a5e91ca13
This commit is contained in:
Andrew Hutchings 2012-02-02 12:37:02 +00:00
parent 76c625740b
commit 8f33c6b820
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ define lodgeit::site($port, $image="") {
user => root,
hour => 6,
minute => 23,
command => "sleep $((RANDOM%60+60)) && cd /var/backups/lodgeit_db && drizzledump -uroot ${name} > ${name}.sql && git commit -am \"Updating DB backup for ${name}\""
command => "sleep $((RANDOM\\%60+60)) && cd /var/backups/lodgeit_db && drizzledump -uroot ${name} > ${name}.sql && git commit -am \"Updating DB backup for ${name}\""
}
service { "${name}-paste":