HomePhorge

(#7428) Fix option parsing for ruby 1.9 in cert application
1519d30b1f1eUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#7428) Fix option parsing for ruby 1.9 in cert application

In Ruby 1.9 block arity is strictly enforced. This changes options created
using blocks to all take one argument. The OptionParser library handles this
correctly even if an option doesn't take arguments (giving an argument of true
if the block takes an argument).

Details

Event Timeline

Patrick Carlisle <patrick@puppetlabs.com> committed rPU1519d30b1f1e: (#7428) Fix option parsing for ruby 1.9 in cert application (authored by Patrick Carlisle <patrick@puppetlabs.com>).Dec 16 2011, 12:50 AM