[Puppet Users] Foreman API, problem when creating hostgroups

2011-11-20 Thread Poul Sørensen
I am trying to create a hostgroup using the Foreman API (foreman-0.4-0.1rc1.noarch): Using perl v.5.14.2, REST::Client et. al., ending up with sending: POST /hostgroups {"name":"api-created- hostgroup","architecture_id":"","medium_id":"","environment_id":"","operatingsystem_id":"","ptable_id":

[Puppet Users] Re: Foreman API, problem when creating hostgroups

2011-11-21 Thread Poul Sørensen
On Nov 21, 8:29 am, Ohad Levy wrote: > CC foreman users list. > > 2011/11/20 Poul Sørensen : > > > I am trying to create a hostgroup using the Foreman API > > > > POST /hostgroups > > > > {"name":"api-created-hostgroup",..."