Skip to content

Commit

Permalink
Allow export clients to be Array
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz-makandra committed Jan 17, 2025
1 parent a77b94a commit 40a4960
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion manifests/server/export.pp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@
define nfs::server::export (
String[1] $v3_export_name = $name,
String[1] $v4_export_name = regsubst($name, '.*/(.*)', '\1' ),
String[1] $clients = 'localhost(ro)',
Variant[
String[1],
Array[String[1]]
] $clients = 'localhost(ro)',
String[1] $bind = 'rbind',
# globals for this share
# propogated to storeconfigs
Expand Down

0 comments on commit 40a4960

Please sign in to comment.