puppetlabs / puppetlabs-satellite_pe_tools

Other
2 stars 15 forks source link

provide ability to filter reports based on a fact #184

Closed vchepkov closed 2 years ago

vchepkov commented 2 years ago

Use Case

I have discovered that Satellite server creates hosts entries for every single report sent, Windows, Solaris, Amazon Linux and so on

Describe the Solution You Would Like

Provide capability to limit scope of the reports to a fact, for example os.name="RedHat"

Describe Alternatives You've Considered

I have not find an option to ignore reports for not registered hosts in Satellite, they become registered the moment report is sent

ekohl commented 2 years ago

Perhaps not entirely what you're looking for, but there's a setting Create new host when facts are uploaded which defaults to yes. Since you probably already registered all RHEL machines, would that be sufficient?

vchepkov commented 2 years ago

Ah, and adjacent option Create new host when report is uploaded, thanks for the tip