diff options
Diffstat (limited to 'manifests/subsystems/media.pp')
-rw-r--r-- | manifests/subsystems/media.pp | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/manifests/subsystems/media.pp b/manifests/subsystems/media.pp deleted file mode 100644 index cbe89b9..0000000 --- a/manifests/subsystems/media.pp +++ /dev/null @@ -1,38 +0,0 @@ -class media::folders( - $ensure_cache = hiera('nodo::media::folders', directory) -) { - # Removable media folder - file { [ "/media/usb", "/media/cdrom", "/media/tablet", "/media/phone" ]: - ensure => directory, - mode => 0755, - } - - # Media cache - file { "/var/cache/media": - ensure => $ensure_cache, - mode => 0755, - } - - # Data folder is a cache - file { "/var/data": - ensure => "/var/cache/media", - } - - # Hostname cache for general use - file { "/var/cache/${::hostname}": - ensure => directory, - mode => 0755, - } - - # Link to the media cache, useful to have unique remotes - # for git-annex in removable media - file { "/var/cache/${::hostname}/media": - ensure => "/var/cache/media", - } -} - -class media::groups { - group { 'incoming': - ensure => 'present', - } -} |