-
Notifications
You must be signed in to change notification settings - Fork 69
Moonshine and Capistrano
Will Farrington edited this page Aug 19, 2010
·
1 revision
Moonshine tightly integrates with Capistrano, utilizing its callback system
to apply your manifests to the server on each deploy. In addition, variables
are set in Capistrano for all keys on the config/moonshine.yml
hash,
allowing your Capistrano configuration to be extremly barebones.
By default, Capistrano applies the manifest at
app/manifests/application_manifest.rb
. To run a different manifest,
for example one to install and maintain packages on a server of a different
role:
set :moonshine_manifest, 'memcached_manifest'
If you’d like to prevent Capistrano from applying your Moonshine manifests for
any reason:
set :moonshine_apply, false