Skip to content

Instantly share code, notes, and snippets.

@ctdk
Created August 3, 2011 17:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ctdk/1123158 to your computer and use it in GitHub Desktop.
Save ctdk/1123158 to your computer and use it in GitHub Desktop.
webhead_dev_test role
# recipe[dk4] is the one that doesn't run in a role's run_list, but runs if you spell out the recipes in a
# node's run_list
name "webhead_dev_test"
description "The development webhead role, for testing."
run_list "recipe[perl]", "recipe[memcached]", "recipe[start_pkgs]", "recipe[apache2]", "recipe[lighttpd]", "recipe[cpan_stuff]", "recipe[dk4_code]", "recipe[dk4]", "recipe[bzrtest]"
default_attributes "dk4" => { "git_branch" => "master", "deploy_type" => "development" }, "lighttpd" => { "extforward_headers" => [ "X-Cluster-Client-Ip", "X-Forwarded-For" ], "extforward_forwarders" => [ "::ffff:10.1.10.215", "10.1.10.215" ] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment