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:
parent
0f6076c432
commit
2a0cb0897f
@ -22,7 +22,7 @@ class jeepyb::fetch_remotes(
|
|||||||
ensure => $ensure,
|
ensure => $ensure,
|
||||||
user => $user,
|
user => $user,
|
||||||
minute => $minute,
|
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
|
include ::logrotate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user