cookbook 'marathon', '~> 2.2.0'
marathon (5) Versions 2.2.0 Follow7
Installs/Configures Apache Marathon
cookbook 'marathon', '~> 2.2.0', :supermarket
knife supermarket install marathon
knife supermarket download marathon
Marathon Cookbook
Description
Application cookbook for installing Mesosphere's Marathon.
Marathon is an Apache Mesos framework for long-running services.
Requirements
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
environment.
Platform:
Tested on
- Ubuntu 16.04
- Ubuntu 14.04
- CentOS 7.2
- CentOS 6.8
This cookbook includes cross-platform testing support via test-kitchen
.
Attributes
-
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.
Development
Please see the [Contributing](CONTRIBUTING.md) and
[Issue Reporting](ISSUES.md) Guidelines.
License and Author
- Author: Ray Rodriguez(rayrod2030@gmail.com)
- Contributor: Robert Veznaver(robert.veznaver@gmail.com)
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
http://www.apache.org/licenses/LICENSE-2.0
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
Changed
- 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
Changed
- 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 https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.2.0 passed this metric
2.2.0 passed this 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 https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.2.0 passed this metric
2.2.0 failed this metric
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
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 https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.2.0 passed this metric
2.2.0 failed this metric
2.2.0 passed this metric