HomePhorge

(#7290) Update indirected Faces to avoid unknown options.
ae360034c07fUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#7290) Update indirected Faces to avoid unknown options.

Now that we enforce that options must be declared, the model we exposed in the
Ruby API (but not the CLI facade) was that you could pass additional arguments
to the indirection method by passing them as unknown options doesn't work.

Instead, explicitly declare an option, extra, that accepts the final
argument to be passed direct to the indirection. This makes things work
smoothly, as well as making it possible (once you can input a hash on the
command line) to invoke extra arguments from the facade too...

Reviewed-By: Pieter van de Bruggen <pieter@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU88e9cd2138e9: maint: don't print inside action implementations.
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPUae360034c07f: (#7290) Update indirected Faces to avoid unknown options. (authored by Daniel Pittman <daniel@puppetlabs.com>).Jul 23 2011, 1:27 AM