aboutsummaryrefslogtreecommitdiff
path: root/manifests/nas
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-08-16 23:24:55 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-08-16 23:24:55 -0300
commitb170636e50406a12522cfa1f0b1360fbd570bc99 (patch)
treeb12aec8d8a4b8b482cd6361e0fbdb2b55ed2f8f4 /manifests/nas
parentdcbf963e2f2cc7534d1fe02efa398e8a6c65aae5 (diff)
downloadpuppet-nodo-b170636e50406a12522cfa1f0b1360fbd570bc99.tar.gz
puppet-nodo-b170636e50406a12522cfa1f0b1360fbd570bc99.tar.bz2
Add 'all' option to dlna_type parameter
Diffstat (limited to 'manifests/nas')
-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,
+ },
}
}