Tuesday the 12th May is two weeks after announcing deprecation of the
install-* roles [1] and the date we should starting throwing an error
message to direct the user to use the renamed ensure-* role instead.
[1]
http://lists.zuul-ci.org/pipermail/zuul-announce/2020-April/000071.html
Change-Id: Ie2474c5c0704aa44f51bdd5d7afddb8c7e4e578b
This reverts commit 102374feb4.
This broke us, one cannot assume the presence of the 'command' utility.
Change-Id: If5f92650b8e0b771aa602c21bf77981d66de1ac8
We're installing the nodesource repo, that means we want to install
from it even if the distro happens to have a newer version.
Change-Id: Ib37615089a2b11b8cc8bdfbe811e5f9cb3d1a529
In the case where a node_version is less than what's in the distro,
we'll wind up installing distro packages instead of upstream packages
which will either fail due to binary path naming issues, or succeed but
install a different version of nodejs than was requested.
Pin the package to the nodesource repo.
Put the file in as a template, as we should really update this role to
be able to optionally make use of a local mirror, in which case the file
will need to jinja.
Change-Id: If313d895a73bd2be7f598179a51b6485a37000ba