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 extracted resources again.

Alex Vandiverf9a39b6703b9
diff --git a/puppet/zulip/manifests/external_dep.pp b/puppet/zulip/manifests/external_dep.pp
index 6da9432b07a..2fff9289589 100644
--- a/puppet/zulip/manifests/external_dep.pp
+++ b/puppet/zulip/manifests/external_dep.pp
@@ -29,6 +29,11 @@ define zulip::external_dep(
},
}
+ file { $dir:
+ ensure => present,
+ require => Zulip::Sha256_Tarball_To[$title],
+ }
+
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 directory above. Skip
@@ -39,7 +44,7 @@ define zulip::external_dep(
recurse => 1,
rmdirs => true,
matches => "zulip-${title}-*",
- require => Zulip::Sha256_Tarball_To[$title],
+ require => File[$dir],
}
}
}