Puppet Manifest file workflow

0 votes
Can somebody explain the manifest file workflow in puppet?
Jul 29, 2019 in Puppet by Namik
• 1,230 points

1 answer to this question.

0 votes

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.

answered Jul 29, 2019 by Sirajul
• 59,090 points

Related Questions In Puppet

0 votes
2 answers

Where do i find the puppet configuration file?

The puppet.conf file is always located at $confdir/puppet.conf. Although ...READ MORE

answered Aug 9, 2019 in Puppet by Sirajul
• 59,090 points
0 votes
1 answer

Vagrant file to bring up VM using Puppet

You vagrant file should look something like ...READ MORE

answered Mar 12, 2019 in Puppet by Barbara
0 votes
1 answer

Managing a Domain Name System (DNS) nameserver file with Puppet.

In this case, you could  build a private ...READ MORE

answered Jul 26, 2019 in Puppet by Sirajul
• 59,090 points
0 votes
1 answer

Puppet+Docker: Restarting docker service via puppet manifest

Try adding this: service { 'docker': ensure ...READ MORE

answered Aug 13, 2019 in Puppet by Sirajul
• 59,090 points
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
+2 votes
1 answer
0 votes
1 answer

How can i execute a single class from my puppet manifest file?

You can execute a subset of resources ...READ MORE

answered Aug 6, 2019 in Puppet by Sirajul
• 59,090 points
0 votes
0 answers