On Monday, July 14, 2014 2:27:22 PM UTC-5, Hunter Haugen wrote:
Yep, totally possible. The puppet master daemon is platform-agnostic and uses the information sent from the agent (via `facter`) to know how to compile the catalog.
AND, the agent adapts to the tools provided by its host OS.
So if your ubuntu agents check in, the master daemon makes ubuntu catalogs. If your centos agents (including the master managing itself) checks in, then it will have different facts and thus a different catalog.
Yes and no. Most of the automation in this regard is in the agent, as a 'provider' appropriate to the host OS is automatically chosen for each resource type represented in its catalog. There are OS-specific details not covered by facts that nevertheless need to be addressed in the manifests and/or data from which the master compiles catalogs -- package names, for example.
Exactly. So, yes, you can totally service Ubuntu, and OS X, and even Windows clients with a CentOS master -- and plenty of people do. But it's not magic. Puppet does as much as it can to ease the way, but you still need to be mindful of the details yourself.
John