Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
bschonec committed May 20, 2024
1 parent e567b96 commit 5eb710c
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions manifests/server/export.pp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@
# String. Sets the hostname clients will use to mount the exported resource. If undef it
# defaults to the trusted certname
#
# [*create_dir*]
# Boolean. Create the directory to be exported.
#
# === Examples
#
# class { '::nfs':
Expand Down Expand Up @@ -96,6 +99,7 @@
$mode = undef,
$server = $::clientcert,
$nfsv4_bindmount_enable = $::nfs::nfsv4_bindmount_enable,
Boolean $create_dir = true,
) {
if $nfs::server::nfs_v4 {
Expand All @@ -118,12 +122,13 @@
}
nfs::functions::create_export { $export_title:
ensure => $ensure,
clients => $clients,
owner => $owner,
group => $group,
mode => $mode,
require => $create_export_require,
ensure => $ensure,
clients => $clients,
create_dir => $create_dir,
owner => $owner,
group => $group,
mode => $mode,
require => $create_export_require,
}
if $mount != undef {
Expand Down

0 comments on commit 5eb710c

Please sign in to comment.