Cloud / Chef /

Chef on AWS

27 May 2013 | Author: Tom

Chef-server won’t install correctly on a stock Amazon Linux image. The following needs to be modified to allow it to work as expected (still isn’t patched in latest Chef):

Edit the following file:

$ vi /opt/chef-server/embedded/cookbooks/runit/recipes/default.rb

Add the following stanza after the platform_version “if” statement:

when “amazon”

include_recipe “runit::upstart”

Problem solved!