[Puppet Users] Ruby program example to post to The Foreman

> Hi,
>
> I want to use The Foreman to pass variables between nodes. Does somebody
> have an example of a Ruby parser which does POSTs to The Foreman and can be
> used in my manifests?. With the exception of a Perl example I have only
> seen examples for GET operations, for example foreman.rb. I will start with
> foreman.rb and modify it but any hints would be very helpful.
>

We are writing full ruby binding for foreman 1.1, have a look at
https://github.com/theforeman/foreman_api

the binding are auto generated from the API documentation, so I'm guessing
the binding in question are a bit out of date (you could generate them your
self assuming you have a recent git version.

saying all of that, we did not do the host object just yet.

Ohad

··· On Wed, Aug 15, 2012 at 4:11 PM, wernerbahlke wrote:

Thanks,

Werner


You received this message because you are subscribed to the Google Groups
“Puppet Users” group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/c6MFTXmAZEEJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.