Chef: Why are resources in an “include_recipe” step being skipped?
Chef seems to be processing resources in a strange order, causing my build to fail. My main recipe ( mytardis-chef/site-cookbooks/recipes/default.rb ) starts like this: include_recipe "build-essential" include_recipe "mytardis::deps" include_recipe "mytardis::nginx" include_recipe "mytardis::postgresql" mytardis-chef/cookbooks/build-essential/recipes/default.rb looks like this: case node['platform'] when "ubuntu","debian" %w{build-essential binutils-doc}.each do |pkg| package pkg do action :install end end when "centos","redhat","fedora","scientific" %w{gcc gcc-c++ kernel-devel make}.each do