0

I have a server (centOS) on which I would like to install the staple development tools. Java, Tomcat, and MySql.

What is a good way to write a script that can be ran on newly spawned server so that this isn't done manually on each new server.

Would a bash script work best for this purpose? I would want the script not just tied to centOS but be able to work across different flavors of linux

1
  • You write a script to do something by writing a script that does those things (this is one of those Zen Koan kinda things), but like Sirex points out below Configuration Management tools are really the Right Way to do this these days.
    – voretaq7
    Apr 26, 2013 at 16:24

1 Answer 1

5

You can do this with bash, but you likely want something more like puppet. (Try decentralised puppet and "puppet apply" runs).

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .