Project

General

Profile

Feature #1657

Support Puppet http reports processor

Added by Lauri Tirkkonen about 7 years ago. Updated about 7 years ago.

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

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 about 7 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 about 7 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 about 7 years ago

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

Also available in: Atom PDF