Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

puppet: Move supervisor-not-in-/etc/supervisor/conf.d/ to common place.

Alex Vandiver391f78a9c18e
diff --git a/puppet/zulip/manifests/profile/smokescreen.pp b/puppet/zulip/manifests/profile/smokescreen.pp
index f86b800df04..e989ff318bd 100644
--- a/puppet/zulip/manifests/profile/smokescreen.pp
+++ b/puppet/zulip/manifests/profile/smokescreen.pp
@@ -54,9 +54,4 @@ class zulip::profile::smokescreen {
content => template('zulip/supervisor/smokescreen.conf.erb'),
notify => Service[supervisor],
}
- # Removed 2021-03 in version 4.0; these lines can be removed in
- # Zulip version 5.0 and later.
- file { '/etc/supervisor/conf.d/smokescreen.conf':
- ensure => absent,
- }
}
diff --git a/puppet/zulip/manifests/supervisor.pp b/puppet/zulip/manifests/supervisor.pp
index 3b2d1a4016e..5b773fc5aaa 100644
--- a/puppet/zulip/manifests/supervisor.pp
+++ b/puppet/zulip/manifests/supervisor.pp
@@ -28,9 +28,10 @@ class zulip::supervisor {
file { [
"${zulip::common::supervisor_system_conf_dir}/cron.conf",
"${zulip::common::supervisor_system_conf_dir}/nginx.conf",
+ "${zulip::common::supervisor_system_conf_dir}/smokescreen.conf",
"${zulip::common::supervisor_system_conf_dir}/thumbor.conf",
- "${zulip::common::supervisor_system_conf_dir}/zulip_db.conf",
"${zulip::common::supervisor_system_conf_dir}/zulip.conf",
+ "${zulip::common::supervisor_system_conf_dir}/zulip_db.conf",
]:
ensure => absent,
}