aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/media.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-12 17:09:03 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-12 17:09:03 -0300
commitfe1c86b8f938283e9dd8196a8b11a9648f4b49e6 (patch)
treec2d999eca03862a3e4af57e0885397adf6bbc6ec /manifests/subsystems/media.pp
parentec5c750d12bdc7948bb3c04f0c72817718a0bf47 (diff)
downloadpuppet-nodo-fe1c86b8f938283e9dd8196a8b11a9648f4b49e6.tar.gz
puppet-nodo-fe1c86b8f938283e9dd8196a8b11a9648f4b49e6.tar.bz2
Major refactor
Diffstat (limited to 'manifests/subsystems/media.pp')
-rw-r--r--manifests/subsystems/media.pp38
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',
- }
-}