-
Notifications
You must be signed in to change notification settings - Fork 8
Description
In https://github.com/johnfitzpatrick/certification-workshops/blob/master/Tomcat/INSTRUCTIONS.md, there is a line that says "Also need to host sample.war file somewhere". This looks like a TODO item that never got done. The instructions should include the command to download the war file and save it to /opt/tomcat/webaps with proper permissions.
Even after doing that, I could not start tomcat with "sudo systemctl start tomcat" until after I ran "chown -R tomcat /opt/tomcat". Kitchen converges successfully after making this change in my recipe. I considered raising a PR to make these changes to the instructions, but I don't know whether there might be a security risk in solving the problem the way I did. I wouldn't want to put a risky procedure on this kind of page. Since my thrust at this point is mastering Chef, not tomcat, I haven't investigated any further.
Someone who is more familiar with tomcat than I am should determine how this ought to be reflected in these instructions.