Permalink
Browse files

Merge pull request #14 from litp-cookbooks/master

Add basic smartos support to install_from_package recipe
  • Loading branch information...
2 parents ba77781 + 222f911 commit 404716db1a9a02700a608416710f1c5434f2d7d1 @balbeko balbeko committed Nov 19, 2012
Showing with 5 additions and 1 deletion.
  1. +1 −1 metadata.rb
  2. +4 −0 recipes/install_from_package.rb
View
@@ -15,6 +15,6 @@
depends "build-essential"
recommends "apt"
-%w{ debian ubuntu centos redhat }.each do |os|
+%w{ debian ubuntu centos redhat smartos }.each do |os|
supports os
end
@@ -48,6 +48,10 @@
%w{ nodejs npm }.each do |pkg|
package pkg
end
+ when 'smartos'
+ %w{ nodejs }.each do |pkg|
+ package pkg
+ end
else
include_recipe "nodejs::install_from_source"
end

0 comments on commit 404716d

Please sign in to comment.