fix: install Node JS using correct repo settings
According to the bash setup script for nodesource, the distro has to be
set to |nodistro| instead of the actual distro name (as the zuul-jobs
role did). Also, the GPG key has to be downloaded from another URL now.
Thus, we're forking the role and modifying all this in order to fix
the issue with installing Node JS.
Change-Id: Ib76282e6fa112efc8e956d1d0b9beec92029b2e4
diff --git a/roles/ensure-nodejs-fork/files/00-nodesource.pref b/roles/ensure-nodejs-fork/files/00-nodesource.pref
new file mode 100644
index 0000000..c830506
--- /dev/null
+++ b/roles/ensure-nodejs-fork/files/00-nodesource.pref
@@ -0,0 +1,3 @@
+Package: nodejs
+Pin: origin deb.nodesource.com
+Pin-Priority: 900