72 Commits

Autor SHA1 Mensagem Data
Guilhem Lettron f68d39c912 Move packages installation to default
Use attribute node['nodejs']['npm_packages']
Use Hash to provision resource
Rubocop fixes
2014-08-20 00:46:39 +02:00
Paul B 29f6efe61b Add a node install packages: for node pkgs provision 2014-08-12 14:58:10 +02:00
Josh f626980477 Fix nodejs URL 2014-08-04 12:22:01 +02:00
Matt Whiteley e64a50f582 Switch to NodeSource repository
- Chris Lea's PPA will be dropped with the release of 0.12.x
- https://chrislea.com/2014/07/09/joining-forces-nodesource/
- https://nodesource.com/blog/chris-lea-joins-forces-with-nodesource
2014-08-01 13:09:47 -07:00
Marius Ducea c3ef83df4a fix rubocop issues 2014-05-02 17:11:11 -07:00
Marius Ducea c0f858fb1c fix typo in the binary checksums; link binaries into /usr/local/bin for node and npm 2014-05-02 17:06:03 -07:00
Marius Ducea a25504a16f use multiple cpu compile threads if available to speed up node source compile 2014-05-02 17:05:20 -07:00
Guilhem Lettron 964b2696c6 Fix way to install nodejs and npm 2014-04-08 16:56:42 +02:00
Guilhem Lettron 71aadb793d Some cleanup on npm_dist helper
We have to wait for https://github.com/npm/npm/issues/4938 to checksum
2014-03-31 16:01:49 +02:00
Guilhem Lettron e621a1a6cb Cleanup source install 2014-03-31 15:13:41 +02:00
Guilhem Lettron e73e56ac4a Cleanup package part 2014-03-31 14:39:53 +02:00
Guilhem Lettron 55b9a6ab81 Install nodejs with ark
Remove redundant checksum
2014-03-31 13:57:47 +02:00
Guilhem Lettron c916593496 Fix npm 2014-03-31 13:46:58 +02:00
Guilhem Lettron cf27a74094 Refactor npm installation 2014-03-31 12:44:26 +02:00
Guilhem Lettron 12157bffb1 Fix rubocop 2014-03-31 12:05:51 +02:00
Guilhem Lettron 32d44f0b7c Fix foodcritic 2014-03-13 15:56:00 +01:00
Guilhem Lettron 8e97993d7b Fix rubocop 2014-03-13 14:05:43 +01:00
Eric Tucker 7e85874e2a Adding rhel, debian, and fedora support for package installation. 2014-03-04 08:11:07 -04:00
Marius Ducea 0203b957f1 merge ratdaddy-remove_apt_reqmt_from_source_build 2014-03-04 01:31:24 -08:00
Marius Ducea a855540645 Merge pull request #57 from bittorture/master
Update key server URL to allow fetch to work through firewall
2014-03-04 01:17:27 -08:00
Russ Teabeault and Matt Farrar ac712c338b Issue 71 - Removing dependency on yum and adding yum-epel 2014-02-10 11:03:46 -07:00
Brian VanLoo 0c18f7bf2f Move apt recipe requirement to install from package 2013-10-06 12:16:33 -07:00
Michael Sommerville fc9ac37f8f Update key server URL to allow fetch to work through firewall 2013-09-09 14:43:16 +01:00
Marius Ducea c65ddcf683 Merge pull request #54 from robertkowalski/implement/raspberry-pi
Add Raspberry pi support
2013-08-13 15:30:27 -07:00
Robert Kowalski 2cb8a1ec33 Add Raspberry pi support
Add mode for installing the Raspberry Pi Node Binary
Add check_sha attribute, as for Raspberry Pi tarballs mostly no
sha-sum is provided
2013-08-13 22:58:39 +02:00
Vasily Mikhaylichenko 4408ed5eb9 Implement installation from package on RedHat
Now that EPEL includes the packages http://dl.fedoraproject.org/pub/epel/6/x86_64/
2013-06-16 08:50:29 +10:00
Mark Luntzel d8742cc7e3 potential fix for not_if block throwing undefined method exists? for Chef::Resource::File:Class 2013-05-13 14:52:48 -07:00
bakins be56959194 remove include 2013-04-01 16:29:13 -04:00
Chris Lundquist f2584149bb [max_threads] make make_thread a real attribute
[max_threads] make make_thread a real attribute
2013-03-19 09:08:05 -07:00
Marius Ducea 53d3ec683d support to enable legacy_packages from the 0.8.x branch in the package installation method 2013-03-16 00:31:27 -07:00
Marius Ducea c0294c86ab npm is no longer a separate package starting with 0.10.x and is included in the main package 2013-03-16 00:18:05 -07:00
Marius Ducea bcda54386f remove rpm install as those packages are no longer available; print a message if there are no packages; currently supported are ubuntu and smartos 2013-03-16 00:15:57 -07:00
Julian Wilde 01f57d9180 Rename method to install_from_binary 2013-02-28 10:40:28 +01:00
Julian Wilde 7f122c38b5 Get rid of rsync - verify SHA256 sum of downloaded file before installing 2013-02-28 10:32:30 +01:00
Julian Wilde e75ec6b548 Add license notice 2013-02-19 14:26:56 +01:00
Julian Wilde cb96f6ba6f Added support for "officialbin" installation source; linux only, downloads and installs official pre-built NodeJS binaries 2013-02-18 17:36:19 +01:00
Chris Lundquist d8d6dfc188 [source.rb] print how many CPUs we're using 2013-01-04 18:17:25 -08:00
Chris Lundquist 0c0f86a466 [default.rb] platform_family for mint support 2013-01-04 17:54:30 -08:00
Chris Lundquist 3dd7eaec75 [source] compile with all processors when known. Default:2 2013-01-04 17:51:19 -08:00
Mark Birbeck 2ee244a66d Update recipes/npm.rb
Ensure npm recipe honours the 'source' or 'package' setting.
2012-12-07 00:29:33 +00:00
Moser, Kevin dca58cefa0 Add PATH to bash and execute resources to set locations for python, make, & uname 2012-11-29 07:51:48 -08:00
Moser, Kevin d1afa93019 Add src_url attribute to allow user to set custom location for source 2012-11-29 07:50:44 -08:00
Marius Ducea e6302aa93a remove extra end added in the default file 2012-11-20 19:11:24 -08:00
Sergey Balbeko 404716db1a Merge pull request #14 from litp-cookbooks/master
Add basic smartos support to install_from_package recipe
2012-11-19 15:38:45 -08:00
Sergey Balbeko ba777817ed Merge pull request #15 from bbg-cookbooks/bluebox
Bluebox
2012-11-19 15:37:45 -08:00
Sergey Balbeko 5d4f1d74eb Fix for Travis build
https://travis-ci.org/mdxp/nodejs-cookbook/builds/3272745
2012-11-20 01:29:28 +02:00
Sergey Balbeko d77e4ca7ae Issue #16: add os check to default.rb 2012-11-20 01:24:03 +02:00
Chris Lundquist 39723e754a move to platform_family syntax 2012-11-07 18:46:10 -08:00
Eric Saxby & Konstantin Gredeskoul 222f91109f Don't install npm on smartos (already installed by nodejs) 2012-10-30 17:22:59 -07:00
Eric Saxby 4d202d2fd4 Merge remote-tracking branch 'upstream/master' 2012-10-28 10:13:55 -07:00