Skip to content

I'm giving OpsWorks a spin and it needs a repository from which to pull custom chef cookbooks

Notifications You must be signed in to change notification settings

thirdiron/chef-cookbooks

Repository files navigation

chef-cookbooks

I'm giving OpsWorks a spin and it needs a repository from which to pull custom chef cookbooks

Relevant Devtools:

Useful AWS Documentation

How to update Opsworks-managed machines when changing these cookbooks

  1. Make a change to the cookbook and commit the change directly to master
  2. Inside the AWS Console's Opsworks UI, choose the applicable stack, click "Run Command", and run the "Update Custom Cookbooks" command
  3. Execute the desired updated recipe using the "Execute Recipes" command

How to update Opsworks-managed machines when changing these cookbooks and you need to run Setup

Running "Setup" should not be needed to be done frequently. However, when it is needed (such as when creating a new instance from scratch), follow these instructions:

  1. Make a change to the cookbook and commit the change directly to master
  2. Inside the AWS Console's Opsworks UI, choose the applicable stack, click "Run Command", and run the "Update Custom Cookbooks" command
  3. Inside the AWS Console's Opsworks UI, choose the applicable stack, click "Run Command", and run the "Setup" command

To-do

  • Enable local testing of running these cookbooks rather than having to do it on instances in the cloud on AWS
  • Speed up loading of changes in Opsworks by making an image the machines can start from which is essentially a freshly-booted Ubuntu image: this is the recommend way online to speed up deploys and spinning up Opsworks-managed machines.

About

I'm giving OpsWorks a spin and it needs a repository from which to pull custom chef cookbooks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •