File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ REQUIREMENTS
1616
1717## Cookbooks:
1818
19- * build-essential
20- * apt
19+ * build-essential (when installing from source)
20+ * apt or yum (when installing from package)
2121
2222Opscode cookbooks (http://github.com/opscode/cookbooks/tree/master )
2323
Original file line number Diff line number Diff line change 1717# See the License for the specific language governing permissions and
1818# limitations under the License.
1919#
20- case node [ 'platform_family' ]
21- when "debian"
22- include_recipe "apt"
23- end
2420
2521include_recipe "nodejs::install_from_#{ node [ 'nodejs' ] [ 'install_method' ] } "
Original file line number Diff line number Diff line change 2222
2323case node [ 'platform_family' ]
2424 when 'debian'
25+ include_recipe "apt"
2526 if node [ 'nodejs' ] [ 'legacy_packages' ] == true
2627 repo = 'http://ppa.launchpad.net/chris-lea/node.js-legacy/ubuntu'
2728 packages = %w{ nodejs npm }
You can’t perform that action at this time.
0 commit comments