Override the attributes in attributes, not the default recipe

This commit is contained in:
Greg Karékinian 2023-06-28 16:26:21 +02:00
parent ddeebc739d
commit 0564165e81
2 changed files with 3 additions and 3 deletions

View File

@ -0,0 +1,3 @@
node.override["nodejs"]["repo"] = "https://deb.nodesource.com/node_14.x"
# Allows upgrading
node.override["nodejs"]["package_action"]["nodejs"] = :upgrade

View File

@ -3,7 +3,4 @@
# Recipe:: default
#
node.normal["nodejs"]["repo"] = "https://deb.nodesource.com/node_14.x"
# Allows upgrading
node.normal["nodejs"]["package_action"]["nodejs"] = :upgrade
include_recipe "nodejs::nodejs_from_package"