Can somebody explain the Puppet Architecture

0 votes
Hi I'm a new puppet learner.Could somebody help me in understanding the puppet architecture?
Jul 24, 2019 in Puppet by Liana
1,950 views

1 answer to this question.

0 votes

Puppet is configured in an agent-master architecture, in which a master node controls configuration information for a fleet of managed agent nodes.

Note: Previous versions of Puppet offered a standalone architecture, in which agents compiled their own catalogs using the Puppet apply application. We no longer recommend this configuration, because it's challenging to maintain and secure.  

  • Puppet Master

Puppet Master is the key mechanism which handles all the configuration related stuff. It applies the configuration to nodes using the Puppet agent.

  • Puppet Agent

Puppet Agents are the actual working machines which are managed by the Puppet master. They have the Puppet agent daemon service running inside them.

  • Config Repository

This is the repo where all nodes and server-related configurations are saved and pulled when required.

  • Facts

Facts are the details related to the node or the master machine, which are basically used for analyzing the current status of any node. On the basis of facts, changes are done on any target machine. There are pre-defined and custom facts in Puppet.

  • Catalog

All the manifest files or configuration which are written in Puppet are first converted to a compiled format called catalog and later those catalogs are applied on the target machine.

Master-agent communication follows this pattern:

  1. An agent node sends facts to the master and requests a catalog.

  2. The master compiles and returns the node’s catalog using the sources of information the master has access to.

  3. The agent applies the catalog to the node by checking each resource the catalog describes. If it finds resources that are not in their desired state, it makes the changes necessary to correct them. Or, in no-op mode, it assesses what changes would be needed to reconcile the catalog.

  4. The agent sends a report back to the master.


 

answered Jul 24, 2019 by Sirajul
• 59,230 points

Related Questions In Puppet

0 votes
1 answer

How can i check the requests of certificates from puppet agent to puppet master?

You could do this by executing the ...READ MORE

answered Jul 24, 2019 in Puppet by Sirajul
• 59,230 points
2,543 views
0 votes
1 answer

How can i avoid the "environment leakage" in puppet?

Environment leakage is one of the limitations ...READ MORE

answered Jul 25, 2019 in Puppet by Sirajul
• 59,230 points
494 views
0 votes
1 answer

Puppet: How can i connect the puppet server to an external node classifier?

You need to configure two settings to ...READ MORE

answered Aug 2, 2019 in Puppet by Sirajul
• 59,230 points
718 views
0 votes
1 answer

Can i install puppet master and puppet agent on the same centos machine? How will that work?

Yes, It's now possible to install both ...READ MORE

answered Aug 6, 2019 in Puppet by Sirajul
• 59,230 points
922 views
+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
3,458 views
+2 votes
1 answer
0 votes
1 answer

Can somebody explain the process of installing modules from the command line in puppet?

Puppet module install command installs a module ...READ MORE

answered Jul 25, 2019 in Puppet by Sirajul
• 59,230 points
380 views
0 votes
1 answer

Can somebody explain the concept of "Infrastructure as code" in Devops ?

"Infrastructure as code", also referred to as ...READ MORE

answered Jul 29, 2019 in Puppet by Sirajul
• 59,230 points
2,430 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP