Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms


hipsnip-jetty (10) Versions 0.1.0

Installs/Configures Jetty

cookbook 'hipsnip-jetty', '= 0.1.0'
cookbook 'hipsnip-jetty', '= 0.1.0', :supermarket
knife supermarket install hipsnip-jetty
knife supermarket download hipsnip-jetty
Quality -%


A cookbook to setup a Jetty server.

Build status


Built to run on Linux distribution. Tested on Ubuntu 12.04. Depends on the java cookbook.


By default the Jetty server is running on port 8080, override node[:jetty][:port] if you're not happy with that. As you can see below you can personnalized your Jetty installation thanks to a bunch of attributes to run a Jetty server as you wish.

N.B: Do not freak out when you see this message on the root page of the Jetty server. ``` Error 404 - Not Found.

No context on this server matched or handled this request. Contexts known to this server are: ``` Everything is alright, it only means that nothing is deployed on the root context which is okay that's your job ;).


["jetty"]["user"] = "jetty"
["jetty"]["group"] = "jetty"
["jetty"]["home"] = "/usr/share/jetty"
["jetty"]["port"] = 8080
["jetty"]["args"] = "jetty.port=#{node.jetty.port}" # The default arguments to pass to jetty.
["jetty"]["logs"] = "" # The jetty default folder is $JETTY_HOME/logs/
["jetty"]["java_options"] = "" # Extra options to pass to the JVM

["jetty"]["contexts"] = "#{node.jetty.home}/contexts"
["jetty"]["webapps"] = "#{node.jetty.home}/webapps"

["jetty"]["version"]    = "9.0.2.v20130417"
["jetty"]["link"] = ""
["jetty"]["checksum"] = "6ab0c0ba4ff98bfc7399a82a96a047fcd2161ae46622e36a3552ecf10b9cddb9" # SHA256

["jetty"]["directory"] = "/usr/local/src"
["jetty"]["download"]  = "#{}/jetty-distribution-#{jetty.version}.tar.gz"
["jetty"]["extracted"] = "#{}/jetty-distribution-#{jetty.version}"

["jetty"]["log"]["level"]  = "INFO" # SEVERE ERROR (highest value) WARNING INFO CONFIG FINE FINER FINEST (lowest value)
["jetty"]["log"]["class"] = "org.eclipse.jetty.util.log.StdErrLog"

Cookbook development

You will need to do a couple of things to be up to speed to hack on this cookbook. Everything is explained here have a look.


bundle exec rake cookbook:full_test


Author: Rémy Loubradou

Copyright 2013 HipSnip Limited

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

No quality metric results found