Updating a host with the rest api

Hi,

try the following example:

Ohad

··· On Wed, Feb 29, 2012 at 6:48 PM, Gustavo Soares wrote: > Hi!! > > I am evaluating foreman's rest api for a particular project. > > Right now, I am trying to update a host's environment. > > The rails log returns: > > .... > Environment(#2197164940) expected, got > HashWithIndifferentAccess(#2156390820) > .... > > The command line used along with the data is > here: https://gist.github.com/1942360 > > Any ideas? > > Gus > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To post to this group, send email to foreman-users@googlegroups.com. > To unsubscribe from this group, send email to > foreman-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/foreman-users?hl=en.