Project

General

Profile

Actions

Bug #12304

closed

Support ruby for RHEL 5.x systems to work with puppet facter

Added by Shlomi Zadok over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1247175
Description of problem:

The custom fact provided by openscap converts an array to a hash using
Hash, which isn't supported on Ruby 1.8.5.

1.8.5:

1.8.5-p231 :003 > Hash[[['foo', 'bar']]]
ArgumentError: odd number of arguments for Hash
from (irb):3:in `[]'
from (irb):3
from :0

Newer:

irb(main):001:0> Hash[[['foo', 'bar']]]
=> {"foo"=>"bar"}

Version-Release number of selected component (if applicable):

  • Satellite 6.1.1 SNAP 14

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:

Expected results:

Additional info:

Actions #1

Updated by Shlomi Zadok over 8 years ago

  • Subject changed from Need newer ruby for RHEL 5.x systems to work with puppet facter to Support ruby for RHEL 5.x systems to work with puppet facter
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/puppet-foreman_scap_client/pull/15 added
  • Pull request deleted ()
Actions #2

Updated by Shlomi Zadok over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF