mirror of https://github.com/zulip/zulip.git
puppet: statuspage-pusher uses zulip.conf for page_id.
This was changed midway through the implementation, from reading it from `zulip-secrets.conf`, and a couple locations still reference the secrets path.
This commit is contained in:
parent
cd565058cd
commit
d02354be6c
|
@ -61,7 +61,7 @@ def main() -> None:
|
|||
config_file.read("/etc/zulip/zulip.conf")
|
||||
page_id = config_file.get("statuspage", "page_id")
|
||||
if page_id is None:
|
||||
raise RuntimeError("statuspage_page_id secret is required")
|
||||
raise RuntimeError("statuspage.page_id in zulip.conf is required")
|
||||
|
||||
metrics_file = configparser.RawConfigParser()
|
||||
metrics_file.read("/etc/zulip/statuspage.conf")
|
||||
|
|
|
@ -13,7 +13,6 @@ class zulip_ops::statuspage {
|
|||
source => 'puppet:///modules/zulip_ops/statuspage-pusher',
|
||||
}
|
||||
|
||||
$page_id = zulipsecret('secrets','statuspage_page_id','')
|
||||
file { "${zulip::common::supervisor_conf_dir}/statuspage-pusher.conf":
|
||||
ensure => file,
|
||||
require => [
|
||||
|
|
Loading…
Reference in New Issue