How to create a "report template" Foreman 3.0.1

Hello everyone

I am trying to learn how to create a “report template” that will validate on all Linux and Windows servers (Installed or not installed postgress app) https://foreman-test.com/templates/report_templates/new

Does the community have a “report template” repository Or ready-made basic templates of this type

I recently installed Foreman 3.0.1 and added some servers for training Please direct me in the right direction or suggest a solution.

I think to create my puppet facts
And try to use them in ERB when creating reports, but it is quite not just for a beginner, simple examples are needed

Sorry, English is not my native language <3

Hello,

I’d start with reading through this Managing Hosts

There’s also some intro in this recording report templates - YouTube

The best examples are the templates you find in your Foreman installation by default. You can find those at foreman/app/views/unattended/report_templates at develop · theforeman/foreman · GitHub

Hope that helps a bit. Feel free to continue asking specific questions here if the linked materials above doesn’t explain it.

2 Likes

Thanks !
You helped a lot, I’ll try to figure it out =)

2 Likes