cookbook 'singularity', '~> 12.0.0'
singularity
(28) Versions
12.0.0
-
Follow0
Installs Singularity and its dependencies (mesos, zk, mysql)
cookbook 'singularity', '~> 12.0.0', :supermarket
knife supermarket install singularity
knife supermarket download singularity
singularity-cookbook
This cookbook provides the dependencies for the Singularity Mesos framework:
It will install and configure Singularity, MySQL and a Mesos Master on the node.
You should have a separate Zookeeper cluster to point to or use the zookeeper
cookbook
Attributes
You can also find comments in attributes/default.rb
General Attributes
Key | Type | Description | Default |
---|---|---|---|
['singularity']['port'] |
Integer | The singularity port | 7092 |
['singularity']['user'] |
String | User for singularity | singularity |
['singularity']['group'] |
String | Group for singularity | singularity |
['singularity']['git_ref'] |
String | Git ref to install from | Singularity-0.5.0 |
['singularity']['version'] |
String | Version number of singularity | 0.5.0 |
['singularity']['home'] |
String | Home directory | /usr/local/singularity |
['singularity']['data_dir'] |
String | Data directory | /var/lib/singularity |
['singularity']['log_dir'] |
String | Log directory | /var/log/singularityy |
['singularity']['conf_dir'] |
String | Config directory | /etc/singularity |
['singularity']['install_type'] |
String | Either 'source' or 'package' | 'package' |
['singularity']['log_level'] |
String | Logging Level | 'INFO' |
Database Attributes
Key | Type | Description | Default |
---|---|---|---|
['singularity']['app_mysql_defaults']['adapter'] |
String | DB Adapter | 'mysql2' |
['singularity']['app_mysql_defaults']['pool'] |
Integer | DB Connection Pool | 20 |
['singularity']['app_mysql_defaults']['timeout'] |
Integer | DB Timeout | 5000 |
['singularity']['database']['host'] |
String | DB Host | localhost |
['singularity']['database']['port'] |
Integer | DB Port Num | 3306 |
['singularity']['database']['db_name'] |
String | DB Name | singularity |
['singularity']['database']['username'] |
String | DB Username | singularity |
['singularity']['database']['password'] |
String | DB Password | 9thlevel |
Contributing
Please help us make this cookbook better!
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests with
kitchen test
, ensuring they all pass - Submit a Pull Request using Github
License and Authors
Author:: EverTrue, inc. (devops@evertrue.com)
Dependent cookbooks
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
singularity CHANGELOG
This is the Changelog for the singularity cookbook.
[Unreleased][unreleased]
Changes
Fixes
v11.1.0 - (2016-10-21)
For additional changes see the GitHub Release Notes
v11.0.0 - (2016-09-13)
Changes
- BREAKING: Bump singularity version to 0.11.0
- BREAKING: Stop pinning mesos package version
- BREAKING: Bump et_mesos to 6.0
Fixes
- Run update-ca-certificates after maven is installed (Resolves Maven SSL downloads issue)
- Stop testing that /usr/local/singularity is owned by singularity user (it's not, doesn't need to be, and never will be)
v10.0.0 - (2016-09-13)
Changes
- Add a CHANGELOG!
- Break out the Singularity Executor into its own cookbook
Collaborator Number Metric
12.0.0 passed this metric
Contributing File Metric
12.0.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 CONTRIBUTING.md file
Foodcritic Metric
12.0.0 failed this metric
FC007: Ensure recipe dependencies are reflected in cookbook metadata: singularity/recipes/default.rb:20
FC009: Resource attribute not recognised: singularity/recipes/user.rb:20
FC064: Ensure issues_url is set in metadata: singularity/metadata.rb:1
FC065: Ensure source_url is set in metadata: singularity/metadata.rb:1
FC066: Ensure chef_version is set in metadata: singularity/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: singularity/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: singularity/recipes/mysql.rb:32
FC122: Use the build_essential resource instead of the recipe: singularity/recipes/source.rb:21
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
12.0.0 failed this metric
Failure: Cookbook should not contain binaries. Found:
singularity/travis_ci_ec2.pem.enc
Testing File Metric
12.0.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
12.0.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 include a tag that matches this cookbook version number
12.0.0 passed this metric
12.0.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 CONTRIBUTING.md file
Foodcritic Metric
12.0.0 failed this metric
FC007: Ensure recipe dependencies are reflected in cookbook metadata: singularity/recipes/default.rb:20
FC009: Resource attribute not recognised: singularity/recipes/user.rb:20
FC064: Ensure issues_url is set in metadata: singularity/metadata.rb:1
FC065: Ensure source_url is set in metadata: singularity/metadata.rb:1
FC066: Ensure chef_version is set in metadata: singularity/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: singularity/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: singularity/recipes/mysql.rb:32
FC122: Use the build_essential resource instead of the recipe: singularity/recipes/source.rb:21
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
12.0.0 failed this metric
Failure: Cookbook should not contain binaries. Found:
singularity/travis_ci_ec2.pem.enc
Testing File Metric
12.0.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
12.0.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 include a tag that matches this cookbook version number
12.0.0 failed this metric
FC009: Resource attribute not recognised: singularity/recipes/user.rb:20
FC064: Ensure issues_url is set in metadata: singularity/metadata.rb:1
FC065: Ensure source_url is set in metadata: singularity/metadata.rb:1
FC066: Ensure chef_version is set in metadata: singularity/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: singularity/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: singularity/recipes/mysql.rb:32
FC122: Use the build_essential resource instead of the recipe: singularity/recipes/source.rb:21
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
12.0.0 failed this metric
Failure: Cookbook should not contain binaries. Found:
singularity/travis_ci_ec2.pem.enc
Testing File Metric
12.0.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
12.0.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 include a tag that matches this cookbook version number
12.0.0 failed this metric
12.0.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 include a tag that matches this cookbook version number