summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-24 18:30:32 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-24 18:30:32 -0200
commit7e8795e5032d27f429cca246eca3923a9f33d31b (patch)
tree0c1bec32705b9b5972f926916f069528e073594b
parentda9711c0cca8a40493bbcdfc17d8211e938bf73b (diff)
downloadpuppet-wordpress-7e8795e5032d27f429cca246eca3923a9f33d31b.tar.gz
puppet-wordpress-7e8795e5032d27f429cca246eca3923a9f33d31b.tar.bz2
Class parameters using hiera
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index a9fb9fc..ad5e553 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,6 +1,6 @@
class wordpress(
$folder = '/var/www/data',
- $locale = ''
+ $locale = hiera('wordpress::locale', '')
) {
$real_wordpress_locale = $locale ? {