diff --git a/manifests/functions/create_export.pp b/manifests/functions/create_export.pp index a36cb76d..4ba5f740 100644 --- a/manifests/functions/create_export.pp +++ b/manifests/functions/create_export.pp @@ -50,12 +50,11 @@ } unless defined(File[$name]) { - file { $name: - ensure => directory, + filepath { $name: + ensure => present, owner => $owner, group => $group, mode => $mode, - selinux_ignore_defaults => true, } } } diff --git a/metadata.json b/metadata.json index 0b34eb4e..66c245be 100644 --- a/metadata.json +++ b/metadata.json @@ -13,6 +13,7 @@ {"name":"puppetlabs/transition","version_requirement":">= 0.1.0 < 2.0.0"}, {"name":"puppet/augeasproviders_core","version_requirement":">= 2.1.5 < 4.0.0"}, {"name":"puppet/augeasproviders_shellvar","version_requirement":">= 1.2.0 <= 5.0.0"} + {"name":"edgej-filepath","version_requirement":">= 1.0.0"} ], "tags": ["nfs", "nfs4", "exports", "mount", "mfc"], "operatingsystem_support": [