]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Scope update
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 28 Jan 2013 18:38:16 +0000 (16:38 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 28 Jan 2013 18:38:16 +0000 (16:38 -0200)
manifests/personal.pp

index 4d63486ba6ae9ae69b2d8bbe9d2cd04ecec4ad79..ca5370b1cc28bfba1bdc43ad0e2b1300633ecd7e 100644 (file)
@@ -29,14 +29,14 @@ class nodo::personal {
   }
 
   # Hostname cache for general use
-  file { "/var/cache/${hostname}":
+  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":
+  file { "/var/cache/${::hostname}/media":
     ensure => "/var/cache/media",
   }
 }