diff --git a/site/profile/manifests/ccs/file_transfer.pp b/site/profile/manifests/ccs/file_transfer.pp index a8c4769573..2b8685a653 100644 --- a/site/profile/manifests/ccs/file_transfer.pp +++ b/site/profile/manifests/ccs/file_transfer.pp @@ -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 {