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>'
cookbooks/ey-custom/metadata.rb
and add the line depends 'custom-<recipe>'
name 'ey-custom'
to cookbooks/ey-custom/metadata.rb
in case of a creationcustom-cookbooks/<recipe>/cookbooks/custom-<recipe>
to cookbooks
. For example, to use memcached, copy custom-cookbooks/memcached/cookbooks/custom-memcached
to cookbooks/custom-memcached
.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.