The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:

Bug #15586

'facter --help' does not work with Ruby 1.9.3

Added by Anonymous almost 4 years ago. Updated over 2 years ago.

Status:ClosedStart date:07/18/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:settings
Target version:1.7.4
Keywords: Affected Facter version:1.7.0
Branch:https://github.com/puppetlabs/facter/pull/522

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com


Description

When using Ruby 1.9.3:

$ facter --help
No help available unless your RDoc has RDoc.usage

History

#1 Updated by Anonymous over 3 years ago

https://github.com/puppetlabs/facter/pull/299 addresses this by tearing out optionparser in favor of trollop (which is in use in the puppet codebase already).

#2 Updated by Anonymous over 3 years ago

  • Status changed from Accepted to In Topic Branch Pending Review
  • Branch set to https://github.com/puppetlabs/facter/pull/299

#3 Updated by Anonymous over 3 years ago

  • Category set to settings
  • Status changed from In Topic Branch Pending Review to Accepted
  • Target version changed from 1.6.10 to 1.6.x

Here’s the update I put on the github pull request since there hasn’t been much traction on this in a month:

@apenney I’m going to go ahead and close this pull request. Please re-open or crate a new pull request once we have an approach that addresses the need to not vendor Trollop in Facter.

Also, please know this does not mean we won’t fix this issue. We do accept #15586 as a bug.

-Jeff

#4 Updated by Adrien Thebo about 3 years ago

  • Status changed from Accepted to In Topic Branch Pending Review
  • Branch changed from https://github.com/puppetlabs/facter/pull/299 to https://github.com/puppetlabs/facter/pull/402

#5 Updated by Charlie Sharpsteen about 3 years ago

  • Keywords set to customer

#7 Updated by Charlie Sharpsteen almost 3 years ago

  • Support Urls deleted (https://github.com/puppetlabs/facter/pull/299)
  • Keywords deleted ( customer)

#8 Updated by Josh Partlow almost 3 years ago

  • Target version changed from 1.6.x to 1.7.x
  • Affected Facter version set to 1.7.0

Just ran into this myself for facter 1.7.0.

Isn’t 299 the relevant pr? It looks like 402 was closed in preference to it?

#9 Updated by Anonymous over 2 years ago

  • Branch changed from https://github.com/puppetlabs/facter/pull/402 to https://github.com/puppetlabs/facter/pull/522

I’ve created a new PR that does the same thing as the one that brought in Trollop, but uses the OptionParser instead.

#10 Updated by Josh Cooper over 2 years ago

  • Target version changed from 1.7.x to 1.7.4

This was merged into stable in commit ae881a6

#11 Updated by Josh Cooper over 2 years ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release

#12 Updated by Melissa Stone over 2 years ago

  • Status changed from Merged - Pending Release to Closed

Release in Facter 1.7.4-rc1

Also available in: Atom PDF