Checking the statuses of hosts from the terminal
We checked the features of the Foreman interface. Now, it is time to check the details from the terminal. You may not need these details, as Foreman is enough for your daily management. However, sometimes Foreman may not be enough and you may need to troubleshoot. In this section, we will see the details of hosts as they are recognized correctly by Puppet via
node.rb. In this, there are the node definitions, facts files for hosts, and signed certificates.
/etc/puppet/node.rb is one of the tools that we can use to check whether the related host is accurately defined and has no problems.
node.rb is Foreman-specific and will only work with it. You need to run it with root rights. ...