Update nodejs default version
default nodejs version installed on ubuntu xenial is too old ( 4.x ) and wanst installing npm package thus deployment was failing bc its relaying on that one added repo_url_suffix attribute to class nodejs to force to install version 9.x Change-Id: I4f3fe711acaffdf7340c49dc9aca095bbbf10a68
This commit is contained in:
parent
6265d038e7
commit
db89f2367c
|
@ -297,8 +297,9 @@ class openstackid (
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# install nodejs default version
|
# force 10.x version
|
||||||
class { '::nodejs':
|
class { '::nodejs':
|
||||||
|
repo_url_suffix => '10.x',
|
||||||
}
|
}
|
||||||
|
|
||||||
group { 'openstackid':
|
group { 'openstackid':
|
||||||
|
@ -322,14 +323,14 @@ class openstackid (
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/openstackid/.env':
|
file { '/etc/openstackid/.env':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
content => template('openstackid/.env.erb'),
|
content => template('openstackid/.env.erb'),
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
group => 'www-data',
|
group => 'www-data',
|
||||||
mode => '0640',
|
mode => '0640',
|
||||||
require => [
|
require => [
|
||||||
File['/etc/openstackid'],
|
File['/etc/openstackid'],
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
# mysql ssl connection configuration
|
# mysql ssl connection configuration
|
||||||
|
@ -460,12 +461,12 @@ class openstackid (
|
||||||
}
|
}
|
||||||
|
|
||||||
$deploy_site_requires = [
|
$deploy_site_requires = [
|
||||||
File['/opt/deploy/conf.d/openstackid.conf'],
|
File['/opt/deploy/conf.d/openstackid.conf'],
|
||||||
Apache::Vhost::Custom[$vhost_name],
|
Apache::Vhost::Custom[$vhost_name],
|
||||||
File['/etc/openstackid/.env'],
|
File['/etc/openstackid/.env'],
|
||||||
Package['curl'],
|
Package['curl'],
|
||||||
Package[$php_packages] ,
|
Package[$php_packages] ,
|
||||||
Class['::nodejs'],
|
Class['::nodejs'],
|
||||||
]
|
]
|
||||||
|
|
||||||
$update_site_requires = [
|
$update_site_requires = [
|
||||||
|
|
Loading…
Reference in New Issue