Skip to content

make it easy to use multiple versions/Update to latest versions LTM and Head - #1

Open
taliesins wants to merge 32 commits into
sgtcoolguy:windowsfrom
taliesins:windows
Open

make it easy to use multiple versions/Update to latest versions LTM and Head#1
taliesins wants to merge 32 commits into
sgtcoolguy:windowsfrom
taliesins:windows

Conversation

@taliesins

Copy link
Copy Markdown

Make it far easier to support multiple versions of NodeJs
Update to latest LTM for default install
Add latest version checksums as well

ronabop and others added 28 commits February 21, 2017 15:38
Signed-off-by: Tim Smith <tsmith@chef.io>
* Add nodejs management support

* Fix unneeded node installation in provider
…fs#156)

Preserving that `arm-pi` branch as there might actually be people still relying on the 0.10.x builds of node elsewhere, though I'd much rather let that fall through to the else case because armv6l is actually still supported.
* Add github templates

Signed-off-by: Tim Smith <tsmith@chef.io>

* Switch to delivery local for testing

Signed-off-by: Tim Smith <tsmith@chef.io>

* Add basic chefspec test

Signed-off-by: Tim Smith <tsmith@chef.io>41

* Pull test deps from ChefDK not Gemfile

Signed-off-by: Tim Smith <tsmith@chef.io>

* Update platforms to test on in Kitchen

Signed-off-by: Tim Smith <tsmith@chef.io>

* Update ignore files

Signed-off-by: Tim Smith <tsmith@chef.io>

* Use local delivery in travis

Signed-off-by: Tim Smith <tsmith@chef.io>
…us-chefs#164)

* Convert to Chef 12.1+ cookbook

Signed-off-by: Tim Smith <tsmith@chef.io>

* Expand kitchen testing

Signed-off-by: Tim Smith <tsmith@chef.io>

* Add suse support and Remove source testing on Ubuntu 12.04

Signed-off-by: Tim Smith <tsmith@chef.io>

* Require Ark 2.0.2 for suse

Prior versions are not compatible with suse

Signed-off-by: Tim Smith <tsmith@chef.io>

* Update travis / dokken config

Signed-off-by: Tim Smith <tsmith@chef.io>

* Fix the naming of leap in the travis config

Signed-off-by: Tim Smith <tsmith@chef.io>

* Fix suse package names for leap

13.X is EOL so it doesn't matter anymore.

Signed-off-by: Tim Smith <tsmith@chef.io>

* Add specs to ensure package installs and remove source in travis

Lets start with just package installs for now. Source installs are
harder in docker images

Signed-off-by: Tim Smith <tsmith@chef.io>

* Require a more recent compat_resource and fix license string

Signed-off-by: Tim Smith <tsmith@chef.io>

* Fix debian kitchen runs

Signed-off-by: Tim Smith <tsmith@chef.io>

* Make sure Amazon Linux works on Chef 13

Signed-off-by: Tim Smith <tsmith@chef.io>

* Make sure we have https support in apt

Fixes failures on Debian

Signed-off-by: Tim Smith <tsmith@chef.io>

* Set the default repos to Node 6 and iojs 3

The repo URLs

Signed-off-by: Tim Smith <tsmith@chef.io>
* Add a default test recipe to make sure we apt-update

Signed-off-by: Tim Smith <tsmith@chef.io>

* Use multipackage in source install and support amazon in Chef 13

Signed-off-by: Tim Smith <tsmith@chef.io>

* Remove iojs installation and use nodesource.com on RHEL not epel

EPEL is ancient on RHEL 6 to the point that’s it’s useless. Using nodesource aligns us with Debian based systems and removes another cookbook dep while we’re at it (yum-epel)

iojs is a dead project and nodejs 4 includes all the same features. There’s no point in continuing to support it now

Signed-off-by: Tim Smith <tsmith@chef.io>

* Fix failures in the test recipe on Chef 13

Also cleanup formatting so diffing is easier between the recipes

Signed-off-by: Tim Smith <tsmith@chef.io>

* Add amazon linux testing in travis

Signed-off-by: Tim Smith <tsmith@chef.io>

* Fix nodejs release vs. RHEL release

Signed-off-by: Tim Smith <tsmith@chef.io>

* Fold default suite into package suite as they're the same

Signed-off-by: Tim Smith <tsmith@chef.io>

* Test binary installation in Travis as well

Signed-off-by: Tim Smith <tsmith@chef.io>

* Use nodejs 6.10.2 and switch bar to .gz files

XZ files don't exist for older nodejs releases

Signed-off-by: Tim Smith <tsmith@chef.io>

* Remove force overrides that aren't necessary

Cookbooks should never do this

Signed-off-by: Tim Smith <tsmith@chef.io>

* Use .tar.gz with the binaries as well

Signed-off-by: Tim Smith <tsmith@chef.io>

* Skip openssl on the binary install, but make sure we have tar

Signed-off-by: Tim Smith <tsmith@chef.io>

* Fix some references to .xz

Signed-off-by: Tim Smith <tsmith@chef.io>

* Make sure we have tar on RHEL-ish platforms for source installs

Signed-off-by: Tim Smith <tsmith@chef.io>
Also remove 3.0.1 which was never pushed

Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
* Cookstyle fix

Signed-off-by: Tim Smith <tsmith@chef.io>

* Update test kitchen configs

Signed-off-by: Tim Smith <tsmith@chef.io>
# Conflicts:
#	README.md
#	attributes/default.rb
#	metadata.rb
#	recipes/nodejs_from_binary.rb
…tributes

Update checksums to use 6.11.2 LTS
…ersion)

If armv6l is in available then make use of it otherwise assume its arm-pi
If installating 32 bit on a 64 bit system then install to C:\Program Files(x86)
nodejs_from_package was missing node
…ntains backwards compatible, by checking existing attribute and using them if the have been overridden.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants