diff --git a/0x17-web_stack_debugging_3/0-strace_is_your_friend.pp b/0x17-web_stack_debugging_3/0-strace_is_your_friend.pp new file mode 100644 index 0000000..a97c1a0 --- /dev/null +++ b/0x17-web_stack_debugging_3/0-strace_is_your_friend.pp @@ -0,0 +1,5 @@ +# Using strace to find out why Apache is returning a 500 error and fix it. +exec {'replace': + provider => shell, + command => 'sed -i "s/phpp/php/g" /var/www/html/wp-settings.php' +}