HomePhorge

(#9440) Allow cron vars to have leading whitespace
fe92f20a5e90Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#9440) Allow cron vars to have leading whitespace

Patch applied from Jeremy Thornhill. This allows whitespace to appear before
cron variables. Previously, whitespace before cron variables would trigger a
parse failure, and the crontab, except for the puppet managed portion, would
get removed. This addresses that issue. It also includes a test for this issue,
added into the tests directory, which seems to be where the crontab tests live.

Signed-off-by: Matthaus Litteken <matthaus@puppetlabs.com>

Details

Provenance
Matthaus Litteken <matthaus@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU79fb5b3780fd: Merge pull request #119 from nicklewis/ticket/2.7rc/8667-spec-fix
Branches
Unknown
Tags
Unknown

Event Timeline

Matthaus Litteken <matthaus@puppetlabs.com> committed rPUfe92f20a5e90: (#9440) Allow cron vars to have leading whitespace (authored by Matthaus Litteken <matthaus@puppetlabs.com>).Sep 16 2011, 8:17 PM