]> gitweb.fluxo.info Git - puppet-php.git/commitdiff
FPM support at php::series7::hardened (2)
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 12 Apr 2018 15:44:11 +0000 (12:44 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 12 Apr 2018 15:44:11 +0000 (12:44 -0300)
manifests/series7/hardened.pp

index d949470b5d7ccfdeffa01aa4d4011026f804d522..296b8b144714ff6bc8fde07fe3e7cad2731759d2 100644 (file)
@@ -11,9 +11,9 @@ class php::series7::hardened {
 
   if $fpm == 'present' {
     php::config {
-      'allow_url_fopen'   : series => '7', sapi => 'fpm', value => 'Off';
-      'allow_url_include' : series => '7', sapi => 'fpm', value => 'Off';
-      'disable_functions' : series => '7', sapi => 'fpm', value => $disable_functions;
+      'allow_url_fopen_fpm'   : name => 'allow_url_fopen',   series => '7', sapi => 'fpm', value => 'Off';
+      'allow_url_include_fpm' : name => 'allow_url_include', series => '7', sapi => 'fpm', value => 'Off';
+      'disable_functions_fpm' : name => 'disable_functions', series => '7', sapi => 'fpm', value => $disable_functions;
     }
   }
 }