puppet: wal-g is a tarball with a single file, not a directory.

5db55c38dc 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.
This commit is contained in:
Alex Vandiver 2023-02-14 17:40:31 -05:00 committed by Alex Vandiver
parent f8a16fb9af
commit 0d42abe1a8
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ define zulip::external_dep(
before => File[$path],
}
file { $path:
ensure => directory,
ensure => present,
}
}