Fix unrecognized escape puppet warning

Puppet tries to parse its own escape, so there is a warning:
Warning: Unrecognised escape sequence ( in file

Adding extra escape for escape fixes the warning, and stil does produce
desired cronscript.

Change-Id: I01fbd8d646820b2d2d71cf98be61a7b72198b234
This commit is contained in:
Mikhail S Medvedev 2016-02-12 11:02:40 -06:00
parent 3505c90fa5
commit ae9f850c07
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ class nodepool (
user => 'nodepool',
hour => '1',
minute => '0',
command => "find ${image_log_document_root} \( -name '*.log' -o -name '*.log.*' \) -mtime +7 -execdir rm {} \\;",
command => "find ${image_log_document_root} \\( -name '*.log' -o -name '*.log.*' \\) -mtime +7 -execdir rm {} \\;",
environment => 'PATH=/usr/bin:/bin:/usr/sbin:/sbin',
}
}