blob: 1319e73817884eb599db71e76d6c1cbc330e28a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
class nodo::subsystem::media {
# Main classes
class { [ 'nodo::subsystem::media::folders', 'nodo::subsystem::media::groups' ]: }
# Make sure basic media exist, no matter if there is an external disk attached
$cache = lookup('nodo::media::folders', undef, undef, '')
if $cache != '' {
file { "${cache}":
ensure => directory,
}
}
}
|