Project

General

Profile

Bug #3977

undefined method `keys' for #<HighLine::ColorScheme on Ubuntu 12.04

Added by Dominic Cleal almost 7 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
foreman-installer script
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Running plain "foreman-installer" on nightly on Ubuntu 12.04 gives the following error:

 /Stage[main]/Apache::Service/Service[httpd]: Failed to call refresh: Could not start Service[httpd]: Execution of '/etc/init.d/apache2 start' returned 1:  at /usr/share/foreman-installer/modules/apache/manifests/service.pp:34
 /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foremandeb.example.com]: Could not evaluate: Connection refused - connect(2)
Installing             Done                                               [100%] [....................]
/usr/bin/foreman-installer:56: undefined method `keys' for #<HighLine::ColorScheme:0x7fb771ef8b18> (NoMethodError)
    from /usr/lib/ruby/vendor_ruby/highline/color_scheme.rb:52:in `initialize'
    from /usr/bin/foreman-installer:55:in `new'
    from /usr/bin/foreman-installer:55
any

Associated revisions

Revision cc00eedd (diff)
Added by Greg Sutcliffe almost 7 years ago

Fixes #3977 - Don't re-open a Highline colourscheme

History

#1 Updated by Dominic Cleal almost 7 years ago

||/ Name                 Version              Description
+++-====================-====================-========================================================
ii  foreman-installer    9999-precise+scratch Automated puppet-based installer for The Foreman
ii  ruby-highline        1.6.2-1              High-level interactive IO Ruby library
ii  ruby-kafo            0.3.4-1              If you write puppet modules for installing your software

An older version of highline in 12.04 compared to the 1.6.19/20 builds we use on Debian and in the RPMs. Marek says this probably affects kafo itself too.

#2 Updated by Dmitri Dolguikh almost 7 years ago

  • Target version set to 1.9.2

#3 Updated by Dominic Cleal almost 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF