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.

smokescreen: Move supervisor configuration to managed directory.

Tim Abbottbb676f114310
diff --git a/puppet/zulip/manifests/profile/smokescreen.pp b/puppet/zulip/manifests/profile/smokescreen.pp
index ae39de25b5d..8938d58aa7f 100644
--- a/puppet/zulip/manifests/profile/smokescreen.pp
+++ b/puppet/zulip/manifests/profile/smokescreen.pp
@@ -42,7 +42,7 @@ class zulip::profile::smokescreen {
notify => Service[supervisor],
}
- file { '/etc/supervisor/conf.d/smokescreen.conf':
+ file { '/etc/supervisor/conf.d/zulip/smokescreen.conf':
ensure => file,
require => [
Package[supervisor],
@@ -54,4 +54,9 @@ 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,
+ }
}