railsmachine / moonshine_god

Simple installation and configuration management for god

This URL has Read+Write access

moonshine_god / README.rdoc
100644 27 lines (22 sloc) 0.964 kb

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.
      plugin :god
      recipe :god