Project

General

Profile

Actions

Bug #14898

closed

Failure when running rake config

Added by Ondřej Pražák almost 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Settings
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

rake -- config --key max_trend --value 31
#...
rake aborted!
NameError: undefined local variable or method `value' for #<ForemanConfig:0x0000001009aac8>
/home/vagrant/foreman/lib/tasks/config.rake:160:in `parse_and_set_string'
/home/vagrant/foreman/lib/tasks/config.rake:108:in `block in run_key_values'
/home/vagrant/foreman/lib/tasks/config.rake:100:in `each'
/home/vagrant/foreman/lib/tasks/config.rake:100:in `run_key_values'
/home/vagrant/foreman/lib/tasks/config.rake:77:in `run'
/home/vagrant/foreman/lib/tasks/config.rake:167:in `block in <top (required)>'
/home/vagrant/.rvm/gems/ruby-2.2.4/bin/ruby_executable_hooks:15:in `eval'
/home/vagrant/.rvm/gems/ruby-2.2.4/bin/ruby_executable_hooks:15:in `<main>'

Related issues 1 (0 open1 closed)

Related to Foreman - Bug #14843: foreman-rake config should print errors when providing an invalid valueClosedDaniel Lobato Garcia04/27/2016Actions
Actions

Also available in: Atom PDF