Upgrade to latest EtherCalc (0.20200505.0)
We're four years behind on EtherCalc releases, and suddenly hitting a crash exception which was fixed in a newer release three years ago. According to the current readme we're running plenty new enough dependencies, so this should be a drop-in replacement. Of course we'll make an extra database backup immediately before hand, just to be safe. Change-Id: Iec59692fea0a1e31e1bd7b8e03145f7384d9e59b
This commit is contained in:
parent
d887384c9c
commit
d3a34d0989
@ -31,7 +31,7 @@ class ethercalc::apache (
|
||||
ensure => present,
|
||||
}
|
||||
|
||||
include ::httpd
|
||||
include httpd
|
||||
::httpd::vhost { $vhost_name:
|
||||
port => 443,
|
||||
docroot => $docroot,
|
||||
|
@ -14,7 +14,7 @@ class ethercalc (
|
||||
$base_install_dir = '/opt/ethercalc',
|
||||
$base_log_dir = '/var/log',
|
||||
$ethercalc_user = 'ethercalc',
|
||||
$ethercalc_version= '0.20161220.1',
|
||||
$ethercalc_version= '0.20200505.0',
|
||||
# If set to system will install system package, otherwise
|
||||
# we try to choose one based on the host platform
|
||||
$nodejs_version = undef,
|
||||
@ -83,7 +83,7 @@ class ethercalc (
|
||||
anchor { 'nodejs-package-install': }
|
||||
|
||||
if ($use_nodejs_version != 'system') {
|
||||
class { '::nodejs':
|
||||
class { 'nodejs':
|
||||
repo_url_suffix => $use_nodejs_version,
|
||||
legacy_debian_symlinks => false,
|
||||
before => Anchor['nodejs-package-install'],
|
||||
@ -139,7 +139,7 @@ class ethercalc (
|
||||
require => File['/etc/init/ethercalc.conf'],
|
||||
}
|
||||
|
||||
include ::logrotate
|
||||
include logrotate
|
||||
logrotate::file { 'ethercalc_error':
|
||||
log => "${base_log_dir}/${ethercalc_user}/error.log",
|
||||
options => [
|
||||
|
@ -7,7 +7,7 @@ class ethercalc::redis(
|
||||
$redis_password = undef,
|
||||
$redis_version = '2.8.4',
|
||||
) {
|
||||
class { '::redis':
|
||||
class { 'redis':
|
||||
redis_port => $redis_port,
|
||||
redis_max_memory => $redis_max_memory,
|
||||
redis_bind => $redis_bind,
|
||||
|
Loading…
x
Reference in New Issue
Block a user