Developing/Testing Custom Facts for Puppet

Michael Sharpe
4 min readNov 26, 2020

An important part of any puppet deployment are custom facts. Facts identify specific attributes about the machines in your environment. For example, a fact might indicate if a specific application is installed, another may identify the version of that application. Some facts are built in and available by default, for example OS information. Other facts are too specific to your environment and facts must be created and deployed. One of the best ways to create facts in puppet is to use custom facts. These facts are written in Ruby scripts using the Facter API.

--

--

Michael Sharpe

Senior Software Architect located in Houston, Texas