!!! This project has been deprecated. We recommend you fork it if you continue to rely upon it. !!!
Configure Simple Deploy and provides resources to integrate Simple Deploy stack mgmt into Chef.
- Chef 10.x
- CentOS 6.x
- RHEL 6.x
Add the simple_deploy cookbook to your role/run_list.
node['simple_deploy']['version']
= Version Of Simple Deploy
Install Simple Deploy Gem Using System Ruby
simple_deploy_stack "app" do
action :create
cookbook "COOKBOOK_TO_LOAD_CLOUD_FORMATION_TEMPLATES"
environment "SIMPLE_DEPLOY_ENVIRONMENT"
template "CLOUD_FORMATION_TEMPLATE_NAME"
inputs { "CloudFormationParameter" => "THE_VALUE" }
read_outputs_from "CLOUD_FORMATION_OUTPUTS_TO_READ"
end
- Environment defaults to 'default'.
- Cookbook (optional) can be used to specify a seperate cookbook for Cloud Formation templates.
- If Cookbook not specified, template is expected to be in the files directory of the given cookbook (defaults to current cookbook).
- Inputs is a hash of key / values that will be passed as inputs to the Cloud Formation create command.
- read_outputs_from is a list (or single string) of templates to read outputs from which are mapped to inputs
- Brett Weaver (@brettweavnet)
- Thomas Bishop (@thbishop)