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: Manage current smokescreen binary so it is not tidied.

Alex Vandiverd6c40d24d451
diff --git a/puppet/zulip/manifests/smokescreen.pp b/puppet/zulip/manifests/smokescreen.pp
index 86670fb8ae1..ee3b4a45057 100644
--- a/puppet/zulip/manifests/smokescreen.pp
+++ b/puppet/zulip/manifests/smokescreen.pp
@@ -23,6 +23,12 @@ class zulip::smokescreen {
Zulip::External_Dep['smokescreen-src'],
],
}
+ # This resource exists purely so it doesn't get tidied; it is
+ # created by the 'compile smokescreen' step.
+ file { $bin:
+ ensure => file,
+ require => Exec['compile smokescreen'],
+ }
unless $::operatingsystem == 'Ubuntu' and $::operatingsystemrelease == '18.04' {
# Puppet 5.5.0 and below make this always-noisy, as they spout out
# a notify line about tidying the managed file above. Skip