Project

General

Profile

Feature #1657

Support Puppet http reports processor

Added by Lauri Tirkkonen almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Puppet Reports
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

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.

Associated revisions

Revision baa3d6f9 (diff)
Added by Ohad Levy almost 11 years ago

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)

History

#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.

#3 Updated by Ohad Levy almost 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF