Manifest File Workflow
Puppet manifest consists of the following components −
-
Files (these are plain files where Puppet has nothing to do with them, just to pick them up and place them in the target location)
-
Resources
-
Templates (these can be used to construct configuration files on the node).
-
Nodes (all the definition related to a client node is defined here)
-
Classes
In Puppet, all manifest files use Ruby as their encoding language and get saved with .pp extension.
"Import" statement in many manifest are used for loading files when Puppet starts.
In order to import all files contained in a directory, you can use the import statement in another way like import 'clients/*'.
This will import all .pp files inside that directory.