I'm running CentOS 6 with SCL, and we're still on Foreman 1.11.

I'm trying to work with foreman_templates 
<https://github.com/theforeman/foreman_templates> to update my templates. I 
installed foreman_templates a few weeks ago using `foreman-installer` and I 
thought it was working then.

However, when I run certain foreman-installer tasks, I get errors about 
'Don't know how to build task', and others. I get essentially the same 
error inside and outside of the TFM SCL environment.

I'm not very experienced with foreman-rake. Any idea what's going on?

[root@puppet ~]# foreman-rake templates:purge 
rake aborted!
Don't know how to build task 'templates:purge'

(See full trace by running task with --trace)
[root@puppet ~]#


[root@puppet ~]# scl enable tfm bash
[root@puppet ~]# foreman-rake templates:purge prefix='Oops '
rake aborted! 
Don't know how to build task 'templates:purge' 
[root@puppet ~]# foreman-rake templates:purge prefix='Oops ' --trace
rake aborted!
Don't know how to build task 'templates:purge'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task_manager
.rb:62:in `[]'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:149:in
 
`invoke_task'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:in
 
`block (2 levels) in top_level'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.
rb:106:in `each'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:in
 
`block in top_level'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:115:in
 
`run_with_threads'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.
rb:100:in `top_level'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:78:in
 
`block in run'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:176:in
 
`standard_exception_handling'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.
rb:75:in `run'
/opt/rh/rh-ruby22/root/usr/bin/rake:33:in `<main>'
[root@puppet ~]# 



-= Stefan

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to