Support Puppet http reports processor
Currently you have to use a separate reports processor for Foreman, since Foreman apparently expects the YAML report data in application/x-www-form-urlencoded (the report processor template at https://raw.github.com/theforeman/puppet-foreman/master/templates/foreman-report.rb.erb calls set_form_data). Puppet reference docs also seem to suggest that Puppet sends the data in urlencoded format, but that is not the case: see https://projects.puppetlabs.com/issues/14723
If Foreman accepted YAML-formatted data as the request body, it would work with the Puppet http report processor and separate processors would no longer be needed.
#1 Updated by Ohad Levy almost 11 years ago
- Target version set to 1.0
agreed - however note that puppet does not support SSL for a transport.
#2 Updated by Lauri Tirkkonen almost 11 years ago
It will in Telly -- see http://projects.puppetlabs.com/issues/8465
#3 Updated by Ohad Levy almost 11 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset baa3d6f913bb0ed678df3eec661faa5e70bca3c7.
fixes #1657 - Support Puppet http reports processor
this patch allow usage of puppet http report processor.
in order to use it simply update your puppet.conf to have the following:
reports = http
reporturl = http://foreman/reports
NOTE: its not possible to use ssl URLS with the current report processor (AFAIK)