Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 727 Bytes

README.md

File metadata and controls

37 lines (32 loc) · 727 Bytes

environment_variables Cookbook

This cookbook handles the application specific setup.

Requirements

cookbooks

  • default - sets environment variables in /etc/environment from an attributes hash

Usage

environment_variables

Just include environment_variables in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[environment_variables]"
  ]
}

Then create entries in an attribute named environment_variables:

{
  "environment_variables": {
    "RAILS_ENV": "production",
    "S3_API_KEY": "foobar",
    "STRIPE_API_KEY": "baz"
  }
}

License and Authors

Authors: Chris Gunther