- This codebase and its cookbooks represent the latest version of Engine Yard's
stable-v6-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-v6 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 V6 (Ubuntu 19.05) Stack, please see https://support.cloud.engineyard.com/hc/en-us/articles/360022162773-Engine-Yard-Stack-v6-Technology-Stack
Please read our Contributions Guidelines.