diff --git a/metadata.rb b/metadata.rb index a4946d7..a91d17d 100644 --- a/metadata.rb +++ b/metadata.rb @@ -13,7 +13,7 @@ recipe "nodejs::install_from_package", "Installs Node.JS from packages" recipe "nodejs::npm", "Installs npm from source - a package manager for node" -%w{ apt yum build-essential }.each do |c| +%w{ apt yum-epel build-essential }.each do |c| depends c end diff --git a/recipes/install_from_package.rb b/recipes/install_from_package.rb index 2736bfb..2c2d721 100644 --- a/recipes/install_from_package.rb +++ b/recipes/install_from_package.rb @@ -38,7 +38,7 @@ action :add end when 'rhel' - include_recipe 'yum::epel' + include_recipe 'yum-epel' packages = %w{ nodejs nodejs-devel npm } when 'smartos' packages = %w{ nodejs }