+1 vote
in DevOps Culture by
Can you explain about a class in Puppet?

1 Answer

0 votes
by

The best puppet interview questions for fresher would always deal with basic information on the puppet. Class is a block of puppet code stored in modules for using later on. Unless you invoke classes in puppet by name, they are not applied. You can add a class to a node’s catalog by assigning them from an ENC. Classes could be added to catalog by declaring them in the manifests. Classes are ideal for configuration of large or medium-sized bits of functionality. The functionalities can include all the packages, services needed for running an application, and config files.

...