HomePhorge

(#13008) Allow scheduled task arguments to be specified
a2d95978d630Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#13008) Allow scheduled task arguments to be specified

Previously, the arguments property of a scheduled_task resource
could not be specified as it would lead to a TypeError when we passed
the should array value to the task scheduler method that expected a
string.

Previously, scheduled tasks arguments could be specified as either a
string or an array. But if an array was specified it could only contain
a single element.

This commit requires that the arguments be specified as a
space-delimited string, e.g. 'arg1 arg2'. It is not a breaking change,
because the ability to specify arguments never worked.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUc6af946e113c: (#13009) Compare scheduled task commands using backslashes
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPUa2d95978d630: (#13008) Allow scheduled task arguments to be specified (authored by Josh Cooper <josh@puppetlabs.com>).May 31 2012, 6:41 AM