Skip to content

Commit

Permalink
Merge pull request #1097 from lsst-it/IT-4822/ccs-file-transfer-home
Browse files Browse the repository at this point in the history
(profile::ccs::file_transfer) handle /home/ccs-ipa being absent
  • Loading branch information
glennmorris authored Mar 28, 2024
2 parents 5f8dc72 + ea23e58 commit 975235f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions site/profile/manifests/ccs/file_transfer.pp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@
String $pkgurl_user = $profile::ccs::common::pkgurl_user,
String $pkgurl_pass = $profile::ccs::common::pkgurl_pass,
) {
$parent = "${dirname($directory)}"

ensure_resource('file', $parent, {
ensure => directory,
owner => $user,
group => $group,
mode => '0755',
})

## We expect that s3daemon will become the default (and only) method
## some time soonish.
if $s3daemon {
Expand Down

0 comments on commit 975235f

Please sign in to comment.