aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/nas/share.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/nas/share.pp b/manifests/nas/share.pp
index 57a14cb..6a0d6d3 100644
--- a/manifests/nas/share.pp
+++ b/manifests/nas/share.pp
@@ -19,7 +19,10 @@ define nodo::nas::share(
# DLNA share
if $dlna_type != '' {
minidlna::share { $folder:
- type => $dlna_type,
+ type => $dlna_type ? {
+ 'all' => undef,
+ default => $dlna_type,
+ },
}
}