Fix cron command string

The % does not need to be escaped and trying to causes the syntax check
to fail.

Change-Id: I7bf80cbd68f96fac20c2bd81dea6a5692fd03cf4
This commit is contained in:
Colleen Murphy 2017-06-11 22:23:49 +02:00
parent 0f6076c432
commit 2a0cb0897f
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class jeepyb::fetch_remotes(
ensure => $ensure,
user => $user,
minute => $minute,
command => "sleep $((RANDOM\%60+90)) && /usr/local/bin/manage-projects -v >> ${logfile} 2>&1",
command => "sleep $((RANDOM%60+90)) && /usr/local/bin/manage-projects -v >> ${logfile} 2>&1",
}
include ::logrotate