Upgrade nodejs cookbook from 7.3 to 11.0

This commit is contained in:
2026-07-10 11:19:29 +02:00
parent 86f7b68726
commit bd193567ca
46 changed files with 1002 additions and 890 deletions
@@ -1,3 +1 @@
node.override["nodejs"]["repo"] = "https://deb.nodesource.com/node_14.x"
# Allows upgrading
node.override["nodejs"]["package_action"]["nodejs"] = :upgrade
node.default["kosmos_nodejs"]["version"] = "14.21.3"
@@ -3,4 +3,7 @@
# Recipe:: default
#
include_recipe "nodejs::nodejs_from_package"
nodejs_install 'nodejs' do
install_method 'package'
version node["kosmos_nodejs"]["version"]
end