Why can't puppet agents directly send reports to foreman (without sending them to the puppet master)

Hi,

We have a puppet installation with a master and many nodes. As the master
was on a vm with a small disk, we disabled the reporting from the nodes (we
did not managed the report cleaning util to work - quick & dirty hack)
: report=false in agents puppet.conf
We have now installed foreman and I want the reports there but the normal
setup is to send these reports to the puppet master which itself sends it
to foreman.

Why the agents can't directly send their reports to foreman ? I'm doing
nothing of the reports on the puppetmaster.

I did not found any answer.

Cheers,
Loic

This is how Puppet's reporting is designed, it's meant to be
centralised. Perhaps you can file a feature request or patch there to
make it more flexible?

The "puppet report" subcommand makes it possible to manually send
reports to other locations, so it's theoretically possible to send it
from an agent without an intermediary. Generally I wouldn't suggest it,
as you'd have to relax security on Foreman to essentially accept
arbitrary data from anywhere (could cause a DoS or worse).

··· On 23/07/14 10:38, Loïc Brarda wrote: > Hi, > > We have a puppet installation with a master and many nodes. As the > master was on a vm with a small disk, we disabled the reporting from the > nodes (we did not managed the report cleaning util to work - quick & > dirty hack) : report=false in agents puppet.conf > We have now installed foreman and I want the reports there but the > normal setup is to send these reports to the puppet master which itself > sends it to foreman. > > Why the agents can't directly send their reports to foreman ? I'm doing > nothing of the reports on the puppetmaster. > > I did not found any answer.


Dominic Cleal
Red Hat Engineering