diff --git a/manifests/logical_volume.pp b/manifests/logical_volume.pp index bd50a3f8..16b75c26 100644 --- a/manifests/logical_volume.pp +++ b/manifests/logical_volume.pp @@ -33,6 +33,11 @@ $lvm_device_path = "/dev/${volume_group}/${name}" if $mountpath_require and $fs_type != 'swap' { + file { $mountpath: + ensure => directory, + before => Mount[$mountpath], + } + Mount { require => File[$mountpath], }