Ask Your Question

how puppet master knows agent configuration,architecture

asked 2015-04-14 04:40:48 -0600

YOGESH DANGCHE gravatar image

how it determine which packages are installed on agent or which users are already exist or not.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-04-15 00:26:59 -0600

GregLarkin gravatar image

updated 2015-04-15 21:21:25 -0600

The master doesn't have that knowledge, because all it does is compile a catalog of resources that should be applied to the agent node. When that catalog is delivered to the agent node, the Puppet agent services applies it to the node. Only those resources that need to be applied will be applied, and the rest of the resources will be left alone.

Once the agent applies the catalog, it will also deliver a report to the master. At that point, you could say that the master has knowledge of (or at least stores) what has changed during the most recent agent node run.

Your Puppet code should be written in such a way to define what users, packages, services, etc. should be configured on the agent nodes, and the Puppet agent service will apply it.

edit flag offensive delete link more


thank you so much for reply

YOGESH DANGCHE gravatar imageYOGESH DANGCHE ( 2015-04-15 00:42:02 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-04-14 04:40:48 -0600

Seen: 83 times

Last updated: Apr 15 '15