{"id":13846857,"url":"https://github.com/mdsol/mesos_cookbook","last_synced_at":"2025-07-12T07:33:10.049Z","repository":{"id":10940543,"uuid":"13247669","full_name":"mdsol/mesos_cookbook","owner":"mdsol","description":"Chef cookbook for installing Apache Mesos","archived":true,"fork":false,"pushed_at":"2018-06-25T09:18:35.000Z","size":318,"stargazers_count":78,"open_issues_count":4,"forks_count":70,"subscribers_count":500,"default_branch":"master","last_synced_at":"2024-11-21T21:42:26.840Z","etag":null,"topics":["patient-mgmt"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdsol.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-01T15:26:08.000Z","updated_at":"2023-04-16T22:31:37.000Z","dependencies_parsed_at":"2022-08-30T23:21:08.611Z","dependency_job_id":null,"html_url":"https://github.com/mdsol/mesos_cookbook","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/mdsol/mesos_cookbook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsol%2Fmesos_cookbook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsol%2Fmesos_cookbook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsol%2Fmesos_cookbook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsol%2Fmesos_cookbook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdsol","download_url":"https://codeload.github.com/mdsol/mesos_cookbook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsol%2Fmesos_cookbook/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264958194,"owners_count":23689010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["patient-mgmt"],"created_at":"2024-08-04T18:00:49.154Z","updated_at":"2025-07-12T07:33:09.719Z","avatar_url":"https://github.com/mdsol.png","language":"Ruby","funding_links":[],"categories":["Ruby","Deployment"],"sub_categories":["Chef"],"readme":"Mesos Cookbook\n==============\n[![Cookbook](http://img.shields.io/cookbook/v/mesos.svg)](https://supermarket.chef.io/cookbooks/mesos)\n[![Build Status](https://secure.travis-ci.org/mdsol/mesos_cookbook.png?branch=master)](http://travis-ci.org/mdsol/mesos_cookbook)\n[![Gitter chat](https://img.shields.io/badge/Gitter-mdsol%2Fmesos_cookbook-brightgreen.svg)](https://gitter.im/mdsol/mesos_cookbook)\n\nApplication cookbook for installing the [Apache Mesos][] cluster manager.\nMesos provides efficient resource isolation and sharing across distributed\napplications, or frameworks.  This cookbook installs Mesos via packages\nprovided by [Mesosphere][].\n\nRequirements\n------------\n\n- Chef \u003e= 12.14.60\n\nPlatform\n--------\nTested on\n\n* Ubuntu 16.04\n* Ubuntu 15.10\n* Ubuntu 14.04\n* Ubuntu 12.04\n* Debian 8.6 (with Java 7)\n* CentOS 7.2\n* CentOS 6.8\n\nSupported Mesos versions\n------------------------\n\nThis cookbook is tested against the following Apache Mesos versions:\n\n* 1.1.0\n* 1.0.1\n* 1.0.0\n\nWe intend to support at most the three latest versions of Apache Mesos.\n\nAttributes\n----------\nIn order to keep the README managable and in sync with the attributes, this\ncookbook documents attributes inline. The usage instructions and default\nvalues for attributes can be found in the individual attribute files.\n\nConfiguring Mesos via attributes\n-----------------------------------------\nThis cookbook introduces a few points of validation to prevent passing Mesos\ninvalid configuration options. The ruby block\n`mesos-slave-configuration-validation` and\n`mesos-master-configuration-validation` extract a hash of all valid Mesos\nconfiguration options from the `--help` output of the master and slave binary\nand check it against the provided attributes. This cookbook will fail to\nconverge if you try to use an invalid configuration option as a command line\nflag attribute under `['mesos']['master']['flags']`\nor `['mesos']['slave']['flags']` hashes.\n\nThe valid list of Mesos options may be found at:\nhttps://github.com/apache/mesos/blob/master/docs/configuration.md\n\n## Recipes\n\n### default\nThe default mesos recipe will run mesos::install.\n\n### install\nThe install recipe installs the specified version of the mesosphere mesos\nRPM or Debian package and installs it.  It’s also configured to stop both\nmesos-master and mesos-slave init files so that they don't automatically\nstart on server restart.\n\n### master\nThe master recipe runs mesos::install as well as creating several\nmesos-master configuration files that are used at startup.  This recipe also\nuses the zookeeper attributes and/or exhibitor attributes to configure the\nmesos-master using zookeeper.  Lastly it sets the mesos-master init config to\n'start' so that mesos-master is started on server restart.\n\n### slave\nThe slave recipe runs mesos::install as well as creating several\nmesos-slave configuration files that are used at startup.  This recipe also\nuses the zookeeper attributes and/or exhibitor attributes to configure the\nmesos-slave using zookeeper.  Lastly it sets the mesos-slave init config to\n'start' so that mesos-slave is started on server restart.\n\n### repo\nThe repo recipe contains logic for setting up Mesosphere debian and RPM\nrepositories.\n\nDependencies\n------------\n\nThe following cookbooks are dependencies:\n\n* [apt][]\n* [yum][]\n* [java][]\n\nThe following cookbooks are suggested:\n\n* [exhibitor][] (used for discovering ZooKeeper ensembles via [Netflix Exhibitor][])\n\nUsage\n-----\n\nHere is a sample role for configuring a Mesos master in a ZooKeeper backed\nproduction mode.\n\n```YAML\nchef_type:           role\ndefault_attributes:\ndescription:\nenv_run_lists:\njson_class:          Chef::Role\nname:                mesos_master\noverride_attributes:\n  mesos:\n    version: 1.0.1\n    master:\n      flags:\n        cluster: 'mesos-sandbox'\n        zk: 'zk://127.0.0.1:2181/mesos'\nrun_list:\n  recipe[mesos::master]\n```\n\nHere is a sample role for creating a Mesos slave node with a seperate ZooKeeper\nensemble dynamically discovered via Netflix Exhibitor:\n```YAML\nchef_type:           role\ndefault_attributes:\ndescription:\nenv_run_lists:\njson_class:          Chef::Role\nname:                mesos_slave\noverride_attributes:\n  mesos:\n    version: 1.0.1\n    slave:\n      flags:\n        master: 'zk://127.0.0.1:2181/mesos'\nrun_list:\n  recipe[mesos::slave]\n```\n\nDevelopment\n-----------\nPlease see the [Contributing](CONTRIBUTING.md) and [Issue Reporting](ISSUES.md) Guidelines.\n\nLicense and Author\n------------------\n* Author: [Ray Rodriguez](https://github.com/rayrod2030)(rayrod2030@gmail.com)\n* Author: [Robert Veznaver](https://github.com/rveznaver)(robert.veznaver@gmail.com)\n\nCopyright 2015 Medidata Solutions Worldwide\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use \nthis file except in compliance with the License. You may obtain a copy of the \nLicense at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed \nunder the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR \nCONDITIONS OF ANY KIND, either express or implied. See the License for the \nspecific language governing permissions and limitations under the License.\n\n[Apache Mesos]: http://mesos.apache.org\n[Netflix Exhibitor]: https://github.com/Netflix/exhibitor\n[Mesosphere]: http://mesosphere.io\n[Medidata Solutions]: http://www.mdsol.com\n[exhibitor]: https://github.com/SimpleFinance/chef-exhibitor\n[apt]: https://github.com/opscode-cookbooks/apt\n[yum]: https://github.com/chef-cookbooks/yum\n[java]: https://github.com/agileorbit-cookbooks/java\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsol%2Fmesos_cookbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdsol%2Fmesos_cookbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsol%2Fmesos_cookbook/lists"}