mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 14:35:27 +00:00
puppet: Switch from $::memorysize_mb to non-legacy $::memory.
This commit is contained in:
committed by
Alex Vandiver
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',
|
||||||
|
|||||||
Reference in New Issue
Block a user