Hi Experts,

I need to use puppet to define multiple service sets (e.g. a proxy server, a
web server and a gmond). And don't know which of the following two
approaches is better.

(For dependency reason I have to apply the above 3 service sets in 3
separate steps, and webserver need proxy, and gmond need webserver, for
example)

approach 1).  I can generate compiled catalog for separate service sets,
i.e. use different nodes.pp with "puppet master --compile" and generate
proxy.yaml, webserver.yaml and gmond.yaml. Then on the client I do puppet
apply --apply proxy.yaml, then webserver.yaml, then gmond.yaml in three
steps.

approach 2). I can generate compiled catalog for proxy.yaml, then
proxy+webserver.yaml, then proxy+webserver+gmond.yaml. Then apply these
three catalogs in three steps.


Which way do you suggest?

(Hope I was clear enough in the question :-)

Thanks

-Yushu

+-------------------------------------------------+
| Yushu Yao
| Ph:1-510-486-4690
|
| Lawrence Berkeley National Lab
| 1 Cyclotron Road
| Berkeley CA 94720 - USA
+-------------------------------------------------+

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to