Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Light-weight Capistrano deployment scripts used by Seven Scale
Ruby Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/sevenscale_deploy
moonshine
recipes
.gitignore
MIT-LICENSE
README
Rakefile
install.rb
uninstall.rb

README

SevenscaleDeploy
================

Basic deployment recipes for Capistrano.


Example
=======

This will include more examples soon.


IPTables
========

    # Allow web and SSL for app servers
    iptables.role :app, 80, 443

    # Allow ActiveMQ Stomp connections from app instances
    iptables.role :activemq, 61613, :from_roles => %w(app)

    # Allow mysql from any app server
    iptables.role :db, 3306, :from_roles => %w(app)


Sudoers
=======

    # Enable the user set for the application
    sudoers.enable fetch(:user)

    # Enable the wheel group
    sudoers.enable_wheel


Users
=====

    # Enable the user set for the application
    users.activate fetch(:user), :all_keys => true
    users.activate 'eric',       :groups => 'wheel', :password => '$1$iavkeX$qLiAcv5ga5TkmfYJx/'


Key Location:

Store the keys in ssh_keys/<user>/key_file_name

You can name the file anything you want -- the hostname of the system
is safe.


Copyright (c) 2009 Seven Scale, released under the MIT license
Something went wrong with that request. Please try again.