Skip to content

Commit

Permalink
Merge pull request #55 from wanelo-chef/master
Browse files Browse the repository at this point in the history
default to package installation of nodejs on smartos
  • Loading branch information
mdxp committed Aug 14, 2013
2 parents c65ddcf + 8ff42ea commit 340ecdc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion attributes/default.rb
Expand Up @@ -17,7 +17,13 @@
# limitations under the License.
#

default['nodejs']['install_method'] = 'source'
case node['platform_family']
when "smartos"
default['nodejs']['install_method'] = 'package'
else
default['nodejs']['install_method'] = 'source'
end

default['nodejs']['version'] = '0.10.13'
default['nodejs']['checksum'] = '7e2079394efe82f62798178f617888c9d6a39150c76122c432ae9ea73ce28e79'
default['nodejs']['checksum_linux_x64'] = '83b8f07aa7981694e557a9aae7e5bc4c312d800c'
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Expand Up @@ -3,7 +3,7 @@
license "Apache 2.0"
description "Installs/Configures nodejs"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "1.2.0"
version "1.3.0"
name "nodejs"
provides "nodejs"

Expand Down

0 comments on commit 340ecdc

Please sign in to comment.