Skip to content

Commit

Permalink
Use edge-filepath module to create parent directories for NFS exports.
Browse files Browse the repository at this point in the history
  • Loading branch information
bschonec committed Aug 9, 2023
1 parent b04915d commit 8342be5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions manifests/functions/create_export.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}
}
Expand Down
1 change: 1 addition & 0 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit 8342be5

Please sign in to comment.