From 0d42abe1a86bbcd0283dfc02a2ea1604dca77054 Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Tue, 14 Feb 2023 17:40:31 -0500 Subject: [PATCH] puppet: wal-g is a tarball with a single file, not a directory. 5db55c38dce5 switched from `ensure => present` to the more specific `ensure => directory` on the premise that tarballs would result in more than one file being copied out of them. However, we only extract a single file from the wal-g tarball, and install it at the output path. The new rule attempts to replace it with an empty directory after extraction. Switch back to `ensure => present` for the tarball codepath. --- puppet/zulip/manifests/external_dep.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/puppet/zulip/manifests/external_dep.pp b/puppet/zulip/manifests/external_dep.pp index 90ebae54cf..e275fed7b9 100644 --- a/puppet/zulip/manifests/external_dep.pp +++ b/puppet/zulip/manifests/external_dep.pp @@ -42,7 +42,7 @@ define zulip::external_dep( before => File[$path], } file { $path: - ensure => directory, + ensure => present, } }