From 0687bb339ee72d7aa5635841b7a2f500573ae229 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Tue, 12 Dec 2017 16:01:51 +1100 Subject: [PATCH] Use v2.3.0 for nodejs Use v2.3.0 of nodejs. node.js 0.12 is EOL so update to the oldest LTS release which is 6.x. It automaticaly detects the symlink argument so this is not required. Depends-On: Ia7966fb9578d0d79f3a7f9480e3a956555737dc8 Depends-On: I9eb17646bd949c3bd84fa61f92881e9fac015de5 Change-Id: Ib925c87760d75fe22d3239bb2c5833183bc849e1 --- manifests/frontend.pp | 3 +-- metadata.json | 8 +++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/manifests/frontend.pp b/manifests/frontend.pp index dc2f768..a629422 100644 --- a/manifests/frontend.pp +++ b/manifests/frontend.pp @@ -9,8 +9,7 @@ class openstack_health::frontend( ) { class { '::nodejs': - legacy_debian_symlinks => true, - repo_url_suffix => 'node_0.12', + repo_url_suffix => '6.x', } package { 'node-gyp': diff --git a/metadata.json b/metadata.json index 90cd9fa..ecd2002 100644 --- a/metadata.json +++ b/metadata.json @@ -16,10 +16,16 @@ { "operatingsystem": "Ubuntu", "operatingsystemrelease": ["14.04"] + }, + { + "operatingsystem": "Ubuntu", + "operatingsystemrelease": ["16.04"] } + ], "dependencies": [ {"name":"openstackinfra/vcsrepo","version_requirement":">= 0.0.8"}, - {"name":"saz/memcached","version_requirement":">= 2.8.1"} + {"name":"saz/memcached","version_requirement":">= 2.8.1"}, + {"name":"puppet/nodejs","version_requirement":">= v2.3.0"} ] }