Skip to content

Instantly share code, notes, and snippets.

@zacharydanger
Created March 20, 2013 17:27
Show Gist options
  • Save zacharydanger/5206601 to your computer and use it in GitHub Desktop.
Save zacharydanger/5206601 to your computer and use it in GitHub Desktop.
My Chef dilemma
# my problem is thus:
# I need to run the 'php::source' recipe before I run `pecl install yaml`, otherwise pecl isn't installed yet.
# My first attempts are going something like
include_recipe "php::source"
`pecl install yaml` # except this explodes because php::source hasn't been run *yet*
# So I tried getting rid of the include_recipe line and having a run list of:
["php::source", "zach::my_awesome_recipe"] #except this still fails because it's not running php::source first.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment