Configuration management with Chef & Capistrano
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install mana
Init project with Chef, Capistrano and Vagrant configs:
config/deploy.rb to provide application name, SCM repository etc. and Chef cookbook params.
Vagrantfile to match your available Vagrant boxes and personal taste.
Edit Chef cookbooks under
config/deploy/cookbooks directory to add software.
Setup all software on server:
cap <stage> mana:setup
<stage> is server name. Individual stages can be added in
vagrant stage for details.
cap deploy-like stuff for later deploys and
cap mana:install for configuration upgrades.
cap -T mana to see useful stuff added after this.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request