Using strace
, find out why Apache is returning a 500 error. Once you find the issue, fix it and then automate it using Puppet (instead of using Bash as you were previously doing).
Hint:
strace
can attach to a current running process- You can use
tmux
to runstrace
in one window andcurl
in another one
Requirements:
- Your
0-strace_is_your_friend.pp
file must contain Puppet code - You can use whatever Puppet resource type you want for you fix