Can't push facts to foreman use script

hi,guys

follow the Manual 1.2 I use a script to push the facts to the foreman .
but the foreman say that the /fact_values/create?format=yml url not exist.
return a 404.
I use the ubuntu 12.04 ,install the foreman use apt-get.

Which version of Foreman are you using?

Can you provide the logs from Foreman please? (i.e.
/var/log/foreman/production.log)

··· On 05/09/13 07:29, huang ming wrote: > hi,guys > > > follow the Manual 1.2 I use a script to push the facts to the foreman > . but the foreman say that the /fact_values/create?format=yml url not > exist. return a 404. > I use the ubuntu 12.04 ,install the foreman use apt-get.


Dominic Cleal
Red Hat Engineering

ver is 1.2.0+ubuntu2.

and I look the fact_values_controller.rb source code ,no found a create
function. but in the 1.2.2 stable code ,have the function.

··· 2013/9/5 Dominic Cleal

On 05/09/13 07:29, huang ming wrote:

hi,guys

follow the Manual 1.2 I use a script to push the facts to the foreman
. but the foreman say that the /fact_values/create?format=yml url not
exist. return a 404.
I use the ubuntu 12.04 ,install the foreman use apt-get.

Which version of Foreman are you using?

Can you provide the logs from Foreman please? (i.e.
/var/log/foreman/production.log)


Dominic Cleal
Red Hat Engineering


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 foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.


黄明友
技术部
四川迅游网络科技有限公司
地址:成都高新区世纪城南路216号天府软件园区D7号楼7层
邮箱:huangmingyou@xunyou.com
手机:+ 8613540630430