intercity/locomotive-chef-repo — pull request #28 by krismeister (2013-11-27 18:46:16+00:00)
Title: build nodejs from binaries

I was getting errors (see dump below) when the trying to install nodejs as a package.
Not sure if anyone else was experiencing it.

I'm using linode, Ubuntu 12.04 LTS 32bit Disk Image (48896 MB, ext3) image.

```sh
Recipe: rails::dependencies
* package[nodejs] action install
* No version specified, and no candidate version available for nodejs
================================================================================
Error executing action `install` on resource 'package[nodejs]'
================================================================================

Chef::Exceptions::Package
-------------------------
No version specified, and no candidate version available for nodejs

Resource Declaration:
---------------------
# In /root/chef-solo/cookbooks-1/rails/recipes/dependencies.rb

6: package package
7: end

Compiled Resource:
------------------
# Declared in /root/chef-solo/cookbooks-1/rails/recipes/dependencies.rb:6:in `block (2 levels) in from_file'

package("nodejs") do
action :install
retries 0
retry_delay 2
package_name "nodejs"
cookbook_name :rails
recipe_name "dependencies"
end

[2013-11-26T23:02:49+00:00] ERROR: Running exception handlers
[2013-11-26T23:02:49+00:00] ERROR: Exception handlers complete
Chef Client failed. 2 resources updated
[2013-11-26T23:02:49+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2013-11-26T23:02:49+00:00] FATAL: Chef::Exceptions::Package: package[nodejs] (rails::dependencies line 6) had an error: Chef::Exceptions::Package: No version specified, and no candidate version available for nodejs

```