- This codebase and its cookbooks represent the latest version of Engine Yard's
stable-v7-1.0
stack.
To upload and run the recipes from the CLI, you need the ey-core
gem.
gem install ey-core
Many features in an Engine Yard Cloud stable-v7 environment can now be enabled and configured via environment variables.
This makes working with the Engine Yard Cloud platform much easier and removes the need for custom Chef recipes in many cases.
More details can be found here.
-
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
-
To upload and apply the recipes, run
ey-core recipes upload --environment <nameofenvironment> --apply
For more information about our V7 (20.04 LTS) Stack, please see https://www.engineyard.com/blog/engine-yard-stack-v7-is-now-generally-available/
Please read our Contributions Guidelines.