Simple installation and configuration management for god
Ruby HTML
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/moonshine
moonshine
recipes
spec
templates
LICENSE
README.md

README.md

Moonshine_God

A plugin for Moonshine

Moonshine_God provides simple installation and configuration management for god. Just drop your god configs into config/god/*.god in your Rails application, add a couple lines to your Moonshine manifest, and deploy.

Available options:

  • log_level - One of debug, info, warn, error, or fatal. Default is 'warn'.
  • log_file - Path to log file. Default is /var/log/god.log.

Instructions

  • script/plugin install git://github.com/railsmachine/moonshine_god.git
  • Add god configuration files at config/god/*.god
  • Configure settings in the manifest if desired: configure( :god => { :log_level => 'info', :log_file => "#{configuration[:deploy_to]}/shared/log/god.log" } )
  • Include the plugin and recipe(s) you want to use in your Moonshine manifest. recipe :god
  • Add the :god role to server(s) in your capistrano deploy file(s) running god:

    config/deploy/staging.rb

    server 'staging.example.com', :god, :app, :web, :db, :primary => true

Unless otherwise specified, all content copyright © 2014, Rails Machine, LLC