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

Select Status


marathon (5) Versions 2.2.0

Installs/Configures Apache Marathon

cookbook 'marathon', '~> 2.2.0', :supermarket
cookbook 'marathon', '~> 2.2.0'
knife supermarket install marathon
knife supermarket download marathon
Quality 67%

Marathon Cookbook

Build Status


Application cookbook for installing Mesosphere's Marathon.
Marathon is an Apache Mesos framework for long-running services.


Chef 12.0.0+

This cookbook also assumes you will be running a zookeeper cluster for
production use of Mesos and Marathon.

This cookbook also depends on the mesos cookbook.

The following cookbooks are dependencies:
* apt
* yum
* java
* mesos (used for installing the Mesos libraries)

The following cookbooks are recommended:
* zookeeper

This cookbook is tested by running Marathon without ZooKeeper support, however
it is currently not recommended to run it in this way in production. Please use
a wrapper cookbook to set up a ZooKeeper + Mesos + Marathon stack in your


Tested on

  • Ubuntu 16.04
  • Ubuntu 14.04
  • CentOS 7.2
  • CentOS 6.8

This cookbook includes cross-platform testing support via test-kitchen.


  • node['marathon']['version'] - Marathon version to install.
  • node['marathon']['source']['url'] - Marathon tarball URL.
  • node['marathon']['source']['checksum'] - Tarball SHA-256 checksum.

  • node['marathon']['home'] - Home installation directory. Default: '/opt/marathon'.

  • node['marathon']['user'] - The user to run tasks as on mesos slaves. Default: 'marathon'.

  • node['marathon']['group'] - The group to run tasks as on mesos slaves. Default: 'marathon'.

  • node['marathon']['jvm']['Xmx512m'] - JVM option. Default: 'true'.

  • node['marathon']['flags']['master'] - The URL of the Mesos master. Default: 'zk://localhost:2181/mesos'.

Note: Both the ['jvm'] and ['flags'] node support dynamic generation of all JVM
and Marathon command line flags. Please read the
[the wrapper template](templates/default/wrapper.erb)
to see how these are generated.


Please see the [Contributing]( and
[Issue Reporting]( Guidelines.

License and Author

Copyright 2015 Medidata Solutions Worldwide

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.

Dependent cookbooks

mesos >= 0.0.0
poise-service >= 0.0.0
java >= 0.0.0
apt >= 0.0.0
yum >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Change Log

All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.

2.2.0 - 2016-12-06


  • Use poise_service
  • Default installed Marathon version is now 1.3.5
  • Test without installing ZooKeeper

Bug fixes

  • Correct system umask

2.1.0 - 2015-12-26


  • Complete refactor of cookbook
  • Default installed Marathon version is now 0.13.0
  • Default to logging to syslog
  • Manage Marathon process using Upstart

1.0.2 - 2014-10-31

Bug fixes

  • Resolve gem dependecy for marathon_app LWRP
  • Pin zookeeper cookbook to known working version

1.0.1 - 2014-02-03

New features

  • Add retry logic for exhibitor discover zookeepers method

1.0.0 - 2014-01-27

New features

  • Release to open source

0.1.0 - 2013-10-09

New features

  • Initial cookbook commit

Collaborator Number Metric

2.2.0 passed this metric

Contributing File Metric

2.2.0 passed this metric

Foodcritic Metric

2.2.0 failed this metric

FC066: Ensure chef_version is set in metadata: marathon/metadata.rb:1
FC069: Ensure standardized license defined in metadata: marathon/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric

2.2.0 passed this metric

Testing File Metric

2.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a file

Version Tag Metric

2.2.0 passed this metric