Actions
Bug #9193
closedForeman-config script broken
Description
The foreman-config script seems to be broken. When using -k/-v to set config values, the script simply returns a list of the current config values:
$ foreman-config -k key -v value
foreman-config script is deprecated. Please consider using `foreman-rake config` instead
administrator: ...
authorize_login_delegation: ...
authorize_login_delegation_api: ...
...
Instead, I would like it to actually update my configs. After come digging, I found the underlying 'rake' command was wrong:
https://github.com/theforeman/foreman/blob/1.7.1/script/foreman-config#L47
should be
exec('rake', '--', 'config', *rake_args)
This happens on at least:
Foreman 1.7.1, Ubuntu 14.04 LTS, Ruby 1.9.3
Actions