On 10/01/2010 03:07 PM, Kikanny wrote:
> Hi all. I'm a puppet noob and I've been tinkering with it for the past
> couple of weeks. What I would like to do now is duplicate a web
> server. So I have a web server running. I would like to make puppet to
> duplicate this web server on another machine. This includes installing
> the same packages, have the same directory structure, have the same
> repository, etc., on the new server. I'm really not sure how to
> proceed with this. Any starting tips would be greatly appreciated!
> 

Hi,

step one is to build a puppet manifest that "mirrors" you existing
server in that puppet will, when run on your server, do nothing. The
tricky part is to include everything you really need. There is no
automatism that will tell if you have.

Once the manifest is complete, run puppet on a fresh machine so that
puppet will take care to set everything up. This fresh server is your
"duplicate" then.

Typically, you will not puppet to manage the web contents of your
application. There are solutions that are fitted better for such things
(source control systems, network file systems etc.)

HTH,
Felix

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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