]> gitweb.fluxo.info Git - puppet-wordpress.git/commitdiff
Class parameters using hiera
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 24 Jan 2013 20:30:32 +0000 (18:30 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 24 Jan 2013 20:30:32 +0000 (18:30 -0200)
manifests/init.pp

index a9fb9fcbec42d553f7f976358b5b71757ae69e26..ad5e5533914a2470dc9a499f5a97229f549bd65d 100644 (file)
@@ -1,6 +1,6 @@
 class wordpress(
   $folder = '/var/www/data',
-  $locale = ''
+  $locale = hiera('wordpress::locale', '')
 ) {
 
   $real_wordpress_locale = $locale ? {