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

RSS

s6 (1) Versions 0.0.1

Installs/Configures s6

Berkshelf/Librarian
Policyfile
Knife
cookbook 's6', '~> 0.0.1'
cookbook 's6', '~> 0.0.1', :supermarket
knife cookbook site install s6
knife cookbook site download s6
README
Dependencies
Quality 44%

Description

A runit_service compatible implementation for s6 supervision trees including logging.

See https://github.com/heavywater/chef-s6/blob/master/recipes/examples.rb for an example

Changes

v0.0.1

Roadmap

  • Publish Heavy Water public signed APT repository with S6 packages, consume those in a "package" recipe
  • Pennyworth-built package integration

Requirements

Platform:

  • Debian/Ubuntu

Recipes

default

Installs and sets up s6 on the system, builds from source, statically compiles slashpackage convention style to the root of the filesystem.

Definitions

The definition in this cookbook will be deprecated by an LWRP in a future version. See Roadmap.

s6_service

Parameters:

  • name - Name of the service. This will be used in the template file names (see Usage), as well as the name of the service resource created in the definition.
  • directory - the directory where the service's configuration and scripts should be located. Default is node['s6']['service_dir'].
  • only_if - unused, will be removed in a future version (won't be present in lwrp). Default is false.
  • finish_script - if true, a finish script should be created. Default is false.
  • active_directory - used for user-specific services. Default is node['s6']['service_dir'].
  • owner - userid of the owner for the service's files, and should be used in the run template with chpst to ensure the service runs as that user. Default is root.
  • group - groupid of the group for the service's files, and should be used in the run template with chpst to ensure the service runs as that group. Default is root.
  • template_name - specify an alternate name for the templates instead of basing them on the name parameter. Default is the name parameter.
  • options - a Hash of variables to pass into the run and log/run templates with the template resource variables parameter. Available inside the template(s) as @options. Default is an empty Hash.

Examples:

Create templates for sv-myservice-run.erb and sv-myservice-log-run.erb that have the commands for starting myservice and its logger.

s6_service "myservice"

License and Author

Author:: AJ Christensen aj@junglist.gen.nz Author:: Adam Jacob adam@opscode.com Author:: Joshua Timberman joshua@opscode.com

Copyright:: 2012, AJ Christensen aj@junglist.gen.nz Copyright:: 2008-2011, Opscode, Inc

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

build-essential >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.0.1 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.0.1 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
            

0.0.1 failed this metric

FC043: Prefer new notification syntax: s6/recipes/default.rb:61
FC064: Ensure issues_url is set in metadata: s6/metadata.rb:1
FC065: Ensure source_url is set in metadata: s6/metadata.rb:1
FC066: Ensure chef_version is set in metadata: s6/metadata.rb:1
FC069: Ensure standardized license defined in metadata: s6/metadata.rb:1
Run with Foodcritic Version 12.0.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.0.1 passed this metric

No Binaries Metric
            

0.0.1 passed this metric

Publish Metric
            

0.0.1 passed this metric

Supported Platforms Metric
            

0.0.1 passed this metric

Testing File Metric
            

0.0.1 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
            

0.0.1 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