This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Cookbook Name:: nodejs | |
# Recipe:: default | |
# | |
# Build and install node.js | |
# | |
if ['app','app_master','solo'].include?(node[:instance_role]) | |
version_tag = "v0.4.8" | |
source_base_dir = "/data/nodejs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I had to alter the recipe for couchdb available on opscode.com to work on engine yard. (http://community.opscode.com/cookbooks/couchdb) | |
1. EY still uses chef-solo 0.6 which requires the attributes file to be changed. trial and error found a working solution | |
2. EY is on gentoo and the service commands hang. Changed recipe to use the typical init.d path. Updated the init.d script. | |
3. added couchdb.yml template to add file to app_server:/data/[app_name]/shared/config | |
FYI I commented out the reference to the erlang recipe for now as we've added the erlang package to the entire environment. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Cookbook Name:: nodejs | |
# Recipe:: default | |
# | |
if ['solo'].include?(node[:instance_role]) | |
nodejs_file = "node-v0.1.101.tar.gz" | |
nodejs_dir = "node-v0.1.101" | |
nodejs_url = "http://nodejs.org/dist/#{nodejs_file}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
This is a smashup by Justin Richter of html.lang and ruby.lang | |
html.lang | |
Authors: Marco Barisione, Emanuele Aina | |
Copyright (C) 2005-2007 Marco Barisione <[email protected]> | |
Copyright (C) 2005-2007 Emanuele Aina | |
ruby.lang | |
Author: Archit Baweja <[email protected]> | |
Copyright (C) 2004 Archit Baweja <[email protected]> |