how puppet master knows agent configuration,architecture
how it determine which packages are installed on agent or which users are already exist or not.
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.
Asked: 2015-04-14 04:40:48 -0500
Seen: 64 times
Last updated: Apr 15 '15