aboutsummaryrefslogtreecommitdiff
path: root/manifests/personal.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-24 13:18:39 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-24 13:18:39 -0200
commitad27f5dac1870369abe10e88fbb034ffa391f12c (patch)
tree2ec4be14af75dbc7508d490ed552288973e3a006 /manifests/personal.pp
parent9c64cff37985a26f7aac5474928403f2605c588f (diff)
downloadpuppet-nodo-ad27f5dac1870369abe10e88fbb034ffa391f12c.tar.gz
puppet-nodo-ad27f5dac1870369abe10e88fbb034ffa391f12c.tar.bz2
Lots of subsystem refactoring; minor node changes
Diffstat (limited to 'manifests/personal.pp')
-rw-r--r--manifests/personal.pp15
1 files changed, 11 insertions, 4 deletions
diff --git a/manifests/personal.pp b/manifests/personal.pp
index 9b7272a..dc89d15 100644
--- a/manifests/personal.pp
+++ b/manifests/personal.pp
@@ -3,7 +3,8 @@ class nodo::personal {
include nodo::physical
include utils::personal
include pam
- include xorg
+
+ class { 'xorg': }
if $lsbdistcodename == 'squeeze' {
include gdm
@@ -27,9 +28,15 @@ class nodo::personal {
mode => 0755,
}
- # Old torrent cache
- file { "/var/cache/torrents":
- ensure => absent,
+ # 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",
+ }
}