Commit c25d1805 authored by Matthieu FAURE's avatar Matthieu FAURE
Browse files

FEAT Testing apache/php is running with request on phpinfo

parent 296f5b2d
...@@ -18,13 +18,13 @@ file_line { 'phpinfo': ...@@ -18,13 +18,13 @@ file_line { 'phpinfo':
line => '<?php phpinfo(); ?>', line => '<?php phpinfo(); ?>',
} }
# Ensure PHP is running + PHP engine is FPM
archive { $_phpinfo_local: archive { $_phpinfo_local:
ensure => present, ensure => 'present',
source => 'http://localhost/phpinfo.php', source => 'http://localhost/phpinfo.php',
require => Class['apache'],
} }
->file_line { 'php-fpm':
# Ensure PHP is running + PHP engine is FPM
file_line { 'php-fpm':
path => $_phpinfo_local, path => $_phpinfo_local,
line => '<tr><td class="e">Server API </td><td class="v">FPM/FastCGI </td></tr>', line => '<tr><td class="e">Server API </td><td class="v">FPM/FastCGI </td></tr>',
replace => false, replace => false,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment