aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-13 17:36:44 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-13 17:36:44 -0300
commitea2838d6932d0e8f7cdf36d3a9160ef8664f2493 (patch)
treeb53be532db5f08a663e4d765126d800f9519a349
parent23720254e0e298f24858dabdf1a233e17ef759e8 (diff)
downloadpuppet-nodo-ea2838d6932d0e8f7cdf36d3a9160ef8664f2493.tar.gz
puppet-nodo-ea2838d6932d0e8f7cdf36d3a9160ef8664f2493.tar.bz2
Fixing location evaluation
-rw-r--r--manifests/init.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index d8155b6..dce9859 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -11,8 +11,8 @@ File { backup => server }
# Set role and location variables: this is a trick so we can use role and location
# in Hiera's hierarchical config.
-$role = hiera('nodo::role', 'default')
-$location = hiera('nodo::role', 'default')
+$role = hiera('nodo::role', 'default')
+$location = hiera('nodo::location', 'default')
# Import required modules
import "common"