Automation, Orchestration, and Scripting
A manifest must install the apache2 package on Debian nodes and the httpd package on RHEL nodes, choosing between them by the node's OS family. Which Puppet component supplies the OS family value when the catalog is compiled?
Show the answer
Correct answerD. Facter
Facter runs on the agent, collects system facts such as the OS family, and sends them to the server for catalog compilation. PuppetDB is tempting, but it only stores facts and catalogs after the fact and does not collect them.