]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
New torrent cache
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 23 Jan 2012 15:44:38 +0000 (13:44 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 23 Jan 2012 15:44:38 +0000 (13:44 -0200)
manifests/personal.pp

index 239e8d2e041e8568d21bf7f8c7cb14d2a22ffd43..54685a625386f387edd08eaca70c3061a4e5c320 100644 (file)
@@ -30,9 +30,16 @@ class nodo::personal {
     mode   => 0755,
   }
 
-  # Torrent cache
+  # Old torrent cache
   file { "/var/cache/torrent":
     ensure => directory,
     mode   => 0755,
+    ensure => absent,
+  }
+
+  # Torrent cache
+  file { "/var/cache/torrents":
+    ensure => directory,
+    mode   => 0755,
   }
 }