mirror of https://github.com/zulip/zulip.git
puppet: Switch from $::memorysize_mb to non-legacy $::memory.
This commit is contained in:
parent
f2f4462e71
commit
c656d933fa
|
@ -31,7 +31,8 @@ class zulip::common {
|
||||||
}
|
}
|
||||||
$supervisor_conf_dir = "${supervisor_system_conf_dir}/zulip"
|
$supervisor_conf_dir = "${supervisor_system_conf_dir}/zulip"
|
||||||
|
|
||||||
$total_memory_mb = Integer($::memorysize_mb)
|
$total_memory_bytes = $::memory['system']['total_bytes']
|
||||||
|
$total_memory_mb = $total_memory_bytes / 1024 / 1024
|
||||||
|
|
||||||
$goarch = $::os['architecture'] ? {
|
$goarch = $::os['architecture'] ? {
|
||||||
'amd64' => 'amd64',
|
'amd64' => 'amd64',
|
||||||
|
|
Loading…
Reference in New Issue