Actions
Bug #11170
closedforeman-rake: setting complex parameters (arrays, hashes) broken?
Description
Trying to set complex Foreman parameters (i.e. arrays or hashes) using foreman-rake results in various errors, i.e.
[root@foreman ~]# foreman-rake -- config -k trusted_puppetmaster_hosts -v '[ "foo.bar.com", "foo.baz.org" ]' rake aborted! A JSON text must at least contain two octets! Tasks: TOP => config (See full trace by running task with --trace)
Another variant:
[root@foreman ~]# foreman-rake -- config -k trusted_puppetmaster_hosts -v '["foo.bar.com", "foo.baz.org"]' rake aborted! 387: unexpected token at 'foo.bar.com,' Tasks: TOP => config (See full trace by running task with --trace)
Updated by The Foreman Bot almost 10 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2562 added
- Pull request deleted (
)
Updated by Dominic Cleal almost 10 years ago
- Related to Bug #11275: hammer ... list --search with spaces in arg fails on SCL OS added
Updated by Dominic Cleal over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Updated by Dominic Cleal over 9 years ago
- Assignee set to Dominic Cleal
- Translation missing: en.field_release set to 72
- Pull request https://github.com/theforeman/foreman/pull/2586 added
- Pull request deleted (
https://github.com/theforeman/foreman/pull/2562)
Actions