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':
|
||||
repo_url_suffix => '10.x',
|
||||
}
|
||||
|
||||
group { 'openstackid':
|
||||
|
@ -322,14 +323,14 @@ class openstackid (
|
|||
}
|
||||
|
||||
file { '/etc/openstackid/.env':
|
||||
ensure => present,
|
||||
content => template('openstackid/.env.erb'),
|
||||
owner => 'root',
|
||||
group => 'www-data',
|
||||
mode => '0640',
|
||||
require => [
|
||||
File['/etc/openstackid'],
|
||||
]
|
||||
ensure => present,
|
||||
content => template('openstackid/.env.erb'),
|
||||
owner => 'root',
|
||||
group => 'www-data',
|
||||
mode => '0640',
|
||||
require => [
|
||||
File['/etc/openstackid'],
|
||||
]
|
||||
}
|
||||
|
||||
# mysql ssl connection configuration
|
||||
|
@ -460,12 +461,12 @@ class openstackid (
|
|||
}
|
||||
|
||||
$deploy_site_requires = [
|
||||
File['/opt/deploy/conf.d/openstackid.conf'],
|
||||
Apache::Vhost::Custom[$vhost_name],
|
||||
File['/etc/openstackid/.env'],
|
||||
Package['curl'],
|
||||
Package[$php_packages] ,
|
||||
Class['::nodejs'],
|
||||
File['/opt/deploy/conf.d/openstackid.conf'],
|
||||
Apache::Vhost::Custom[$vhost_name],
|
||||
File['/etc/openstackid/.env'],
|
||||
Package['curl'],
|
||||
Package[$php_packages] ,
|
||||
Class['::nodejs'],
|
||||
]
|
||||
|
||||
$update_site_requires = [
|
||||
|
|
Loading…
Reference in New Issue