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.

 

>
> Modules are commonly written to handle the different package & service 
> names across platforms as well as different kinds of configuration defaults 
> (eg, 
> https://github.com/puppetlabs/puppetlabs-ntp/blob/master/manifests/params.pp#L42-L78)
>  
> and can be run from any master (even AIX masters serving windows agents if 
> a module is written to support windows :P).
>
>

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

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/5176c9a3-9f06-40dc-8bda-b5b27f322215%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to