blob: d1dca6573279ef7dad1839e799a62d54b4c7be96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
define minidlna::share($type = undef) {
$def = $type ? {
undef => $title,
default => "${type},${title}",
}
$conf = "/etc/minidlna.conf"
concat::fragment { "${conf}_${title}":
target => $conf,
content => "media_dir=${def}\n",
order => 50,
}
}
|