DEV Community

Modern Puppet node classification

Martin Alfke on August 08, 2022

Within Puppet we use modules to describe specific technical components which we want to configure on a system. This can by achieved either by upstr...
Collapse
 
alvagante profile image
Alessandro Franceschi

Nice post Martin. Worth mentioning that the Hiera Multiple hashes approach is used and available out of the box, in example42's psick module.

It's enough to include (classify) the psick class and then manage classification via Hiera using the following keys (for each one an hash of classes cat be set):

psick::firstrun::linux_classes
psick::pre::linux_classes
psick::base::linux_classes
psick::profiles::linux_classes
Enter fullscreen mode Exit fullscreen mode

Same entrypoints are available for windows_classes and darwin_classes.