This is a very simple (and bad) ratpack application that I put together to show different methods of deploying an application. The slide deck for the application can be found on speaker deck and google docs.
See the build.gradle file to see how you can build a debian package and push docker container from your build. Look in the terraform directory to see what a simple terraform file might look like. See the cloudformation directory to see a simple cloudformation example, and the packer directory for a packer example. The salt directory shows how you might structure a saltstack project but is unfortunately pretty incomplete (but should work I think).
If you run into questions let me know (charlie.knudsen@gmail.com) and I'll try to help.