Machinify

The first release of the Machinify gem lays the foundation for building stacks with different components and different platforms with a common interface. Tasks are included for installing Apache 2.2, Mongrel, mongrel_cluster, Rails, and mysql on Ubuntu Feisty Fawn.

To get up and running, execute the following:


sudo aptitude install -y ruby rubygems
sudo gem update --system
sudo gem install rake machinify
machinify .
rake stack:install

If you need RMagick, you can run rake imagemagick:install. There are a number of tasks available for installing a single package, server role (web, app, db), and basic service management commands. Tasks include:


rake apache:install               # Installs apache with worker mpm
rake apache:restart               # Restarts the apache process
rake imagemagick:install          # Installs Image Magick and RMagick
rake mongrel:cluster:install      # Installs scripts for managing mongrel clusters
rake mysql:client:install         # Install mysql client and library
rake mysql:server:install         # Install mysql and ruby library
rake mysql:server:restart         # Restarts the mysql process
rake rails:install                # Installs rails
rake stack:install                # Installs a full web application stack
rake svn:install                  # Installs Subversion revision control system

In addition, there are package independent tasks that will be configurable in an upcoming release:


rake web:install                  # Installs web server stack
rake web:restart                  # Restarts the web server process
rake db:client:install            # Installs database client stack
rake db:server:install            # Installs database server stack

Run rake -T to see the full list. You can also create your own stacks with custom tasks.

Meta