fix ruby voodoo <https://github.com/puphpet/puphpet/commit/9824659ab3be1df088abf476c8...
authorAndreas Schiermeier <as@ccc504j.site>
Mon, 30 Dec 2013 13:14:29 +0000 (14:14 +0100)
committerAndreas Schiermeier <as@ccc504j.site>
Mon, 30 Dec 2013 13:14:29 +0000 (14:14 +0100)
puppet/manifests/default.pp

index f753377..03f523a 100644 (file)
@@ -324,7 +324,7 @@ if count($php_values['modules']['pecl']) > 0 {
   php_pecl_mod { $php_values['modules']['pecl']:; }
 }
 if count($php_values['ini']) > 0 {
-  $php_values['ini'].each { |$key, $value|
+  each( $php_values['ini'] ) |$key, $value| {
     puphpet::ini { $key:
       entry       => "CUSTOM/${key}",
       value       => $value,
@@ -382,7 +382,7 @@ if $xdebug_values['install'] != undef and $xdebug_values['install'] == 1 {
   }
 
   if is_hash($xdebug_values['settings']) and count($xdebug_values['settings']) > 0 {
-    $xdebug_values['settings'].each { |$key, $value|
+    each( $xdebug_values['settings'] ) |$key, $value| {
       puphpet::ini { $key:
         entry       => "XDEBUG/${key}",
         value       => $value,