Want to write automation script to ensure foreman collecting facts from all nodes
How to ensure foreman having facts from all nodes ?
Want to write automation script to ensure foreman collecting facts from all nodes
How to ensure foreman having facts from all nodes ?
A fact is a key/value data pair that represents some aspect of node state, such as its IP address, uptime, operating system, or whether it's a virtual machine.
1. Manual process are:
a. Login to foreman UI, click Monitor->Facts
b. run
facter -pon hosts2. Automation: I have written below script to check facts from each hosts