Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
.chef
cookbooks
roles
LIESMICH.md
README.md
Vagrantfile
node.json
solo.rb

README.md

Sample Java Project with Chef

German / Deutsch

This is a sample to show how Chef can be used to configure a Java environment.

The Vagrantfile can be used to provision the Java application on a virtual machine managed by VirtualBox. See http://vagrantup.com/ . To see the application running just use: vagrant up

Another possibility is to provision the application using chef solo. The script install.sh does that.

The web application is located in cookbooks/webapp/files/default .

Look at roles/tomcatserver.json to figure out which recipes are run and how they are customized. The cookbooks are taken from the Opscode's Open Source repository.

The directory .chef contains a simple knife.rb that must be adjusted to be used with knife - see the comments in the file. Then the application can be installed in the Amazon EC2 cloud.

To use it:

The application can be accessed at http://localhost:18080/demo/ .