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

RSS

deploy-user (1) Versions 0.1.0

Creates a deploy user for capistrano using data bags

Policyfile
Berkshelf
Knife
cookbook 'deploy-user', '~> 0.1.0', :supermarket
cookbook 'deploy-user', '~> 0.1.0'
knife supermarket install deploy-user
knife supermarket download deploy-user
README
Dependencies
Changelog
Quality 33%

deploy-user cookbook

Note this version of the cookbook will be replaced with an entirely new version
as a major version bump. It is here for legacy reasons.

Usage

This cookbook will create a deploy user if there is the appropriate
data bag item for a user e.g. data_bags/users/deploy.json. Note since the
private key is sensitive, it should be an encrypted data bag.

{
  "id": "deploy",
  "groups": ["deploy"],
  "ssh_private_key": "-----BEGIN RSA PRIVATE KEY----- ...",
  "ssh_public_key": "ssh-rsa AAAA... comment"
}

It will also load the appropriate known SSH host keys to the global
/etc/sshd/ssh_known_hosts so that these SSH hosts will already be trusted at
deployment time to avoid interactivity problems. The default will add
github.com's host key, but can be configured via
node['capistrano']['known_hosts']

This attribute will take either an array of SSH host domains (which ssh_known_hosts
cookbook will look up the SSH host key for, or a Hash of {host=>host key}.

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write you change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

Supermarket share

stove is used to create git tags and
publish the cookbook on supermarket.chef.io.

To tag/publish you need to be a contributor to the cookbook on Supermarket and
run:

$ stove login --username  --key ~/.chef/.pem
$ rake publish

It will take the version defined in metadata.rb, create a tag, and push the
cookbook to http://supermarket.chef.io/cookbooks/deploy-user

License and Authors

  • Author:: Andy Thompson
Copyright:: 2014-2016 The Inviqa Group Ltd

See LICENSE file

Dependent cookbooks

ssh_known_hosts >= 2.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.0 (04 May 2016)

  • Initial release forked from config-driven-helper::capistrano

Collaborator Number Metric
            

0.1.0 failed this metric

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

Contributing File Metric
            

0.1.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
            

0.1.0 passed this metric

No Binaries Metric
            

0.1.0 passed this metric

Testing File Metric
            

0.1.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
            

0.1.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