Caterer is a tool for provisioning production environments.
gem install caterer
Caterer.configure do |config|
config.image :rails do |image|
image.provision :chef_solo do |chef|
chef.add_recipe 'ruby'
chef.add_recipe 'mysql::server'
chef.add_recipe 'mysql::client'
chef.json = {
"ruby" => {
"gems" => ['mysql2']
}
}
end
end
end
cater provision HOST -i rails
The Caterer Wiki has lots of additional information about Caterer including many usage references, configuration examples, how-to articles, and answers to the most frequently asked questions.
You can view all of the available wiki pages here.
Here is the basic information to get started: Soup to Nuts
For answers to the most frequently asked questions: FAQ
Some definitions to help you through the rest of the guides: Definitions
A few cli usage examples: cli examples
Use berkshelf for cookbook dependencies: Howto: Berkshelf
Display verbose output: Howto: Verbose Logging
Structure a large project: Howto: Large Projects
Limit chef runlist for iterative provisioning: Howto: Runlist Override
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request