Skip to content

Instantly share code, notes, and snippets.

@barinek
Created August 27, 2010 14:18
Show Gist options
  • Save barinek/553436 to your computer and use it in GitHub Desktop.
Save barinek/553436 to your computer and use it in GitHub Desktop.
Managing your ey-cloud-recipes
If you've recently forked the ey-cloud-recipes on GitHub and then had issues
managing and deploying multiple projects with disparate dependencies using the
single forked gem, then we have a solution that has worked well on a recent project.
We've tucked the cookbooks directory underneath our Rails project. To apply Chef
changes, we installed the 'engineyard' gem and us 'ey recipes upload' and
'ey recipes apply' from within our Rails project.
Upside, everything you need to know about the project is local to the project.
.
├── Gemfile
├── Gemfile.lock
├── README.md
├── Rakefile
├── app
├── cookbooks
│ ├── main
│ │ ├── attributes
│ │ │ └── recipe.rb
│ │ ├── definitions
│ │ │ └── ey_cloud_report.rb
│ │ ├── libraries
│ │ │ ├── ruby_block.rb
│ │ │ └── run_for_app.rb
│ │ └── recipes
│ │ └── default.rb
│ ├── redis
│ │ ├── README.rdoc
│ │ ├── recipes
│ │ │ └── default.rb
│ │ └── templates
│ │ └── default
│ │ ├── redis.conf.erb
│ │ └── redis.monitrc.erb
│ └── sunspot
│ ├── recipes
│ │ └── default.rb
│ └── templates
│ └── default
│ ├── solr.erb
│ └── solr.monitrc.erb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment