aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/media
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystem/media')
-rw-r--r--manifests/subsystem/media/folders.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/manifests/subsystem/media/folders.pp b/manifests/subsystem/media/folders.pp
index 11d2f26..243c245 100644
--- a/manifests/subsystem/media/folders.pp
+++ b/manifests/subsystem/media/folders.pp
@@ -24,6 +24,21 @@ class nodo::subsystem::media::folders(
},
}
+ # Code and load folders
+ file { [ "${base}/code", "${base}/load" ]:
+ ensure => directory,
+ mode => 0755,
+ owner => $owner ? {
+ false => undef,
+ default => $owner,
+ },
+ group => $group ? {
+ false => undef,
+ default => $group,
+ },
+ require => File["$base"],
+ }
+
# Data folder is a cache
file { "/var/data":
ensure => "$base",