Actions
Bug #3269
closedrake puppet:import:hosts_and_facts fails with wrong number of arguments (1 for 2..3)
Description
Since the fact import API was refactored for 1.3, the corresponding rake task also fails:
$ rake puppet:import:hosts_and_facts dir=/home/dcleal/code/foreman/local/reports/
Importing from /home/dcleal/code/foreman/local/reports/
Importing rhel6b.fm.example.net
rake aborted!
wrong number of arguments (1 for 2..3)
/home/dcleal/code/foreman/foreman/app/models/host/managed.rb:356:in `importHostAndFacts'
/home/dcleal/code/foreman/foreman/app/models/host.rb:16:in `method_missing'
/home/dcleal/code/foreman/foreman/lib/tasks/puppet.rake:53:in `block (4 levels) in <top (required)>'
/home/dcleal/code/foreman/foreman/lib/tasks/puppet.rake:50:in `each'
/home/dcleal/code/foreman/foreman/lib/tasks/puppet.rake:50:in `block (3 levels) in <top (required)>'
/home/dcleal/.rvm/gems/ruby-2.0.0-p247@foreman/bin/ruby_noexec_wrapper:14:in `eval'
/home/dcleal/.rvm/gems/ruby-2.0.0-p247@foreman/bin/ruby_noexec_wrapper:14:in `<main>'
Updated by Anonymous about 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 956e2ed4b5f45a89786d4702d33680b66474f159.
Updated by Greg Sutcliffe about 11 years ago
- Translation missing: en.field_release set to 1
Actions