- This codebase and its cookbooks represent the latest version of Engine Yard's
stable-v5-3.0
stack.
To upload and run the recipes from the CLI, you need the ey-core
gem.
gem install ey-core
-
Create the
cookbooks/
directory at the root of your application. If you prefer to keep the infrastructure code separate from application code, you can create a new repository. -
For each custom cookbook that you want to use, do the following:
- Create or edit
cookbooks/ey-custom/recipes/after-main.rb
and add the line:
include_recipe 'custom-<recipe>'
- Create or edit
cookbooks/ey-custom/metadata.rb
and add the linedepends 'custom-<recipe>'
- prepend
name 'ey-custom'
tocookbooks/ey-custom/metadata.rb
in case of a creation
- prepend
- Download this repository and copy
custom-cookbooks/<recipe>/cookbooks/custom-<recipe>
tocookbooks
. For example, to use memcached, copycustom-cookbooks/memcached/cookbooks/custom-memcached
tocookbooks/custom-memcached
.
- Create or edit
-
Alternative to step #2 above: use ey-v5-starterkit to automate copying the recipe from the custom-cookbooks directory
-
To upload and apply the recipes, run
ey-core recipes upload --environment <nameofenvironment> --apply
For more information about our V5 (Gentoo 16.06) Stack, please see https://support.cloud.engineyard.com/hc/en-us/sections/205071967-Engine-Yard-Gentoo-16-06
Please read our Contributions Guidelines.