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

ama-ssh-private-keys (5) Versions 0.1.1

Manages SSH private keys

Policyfile
Berkshelf
Knife
cookbook 'ama-ssh-private-keys', '= 0.1.1', :supermarket
cookbook 'ama-ssh-private-keys', '= 0.1.1'
knife supermarket install ama-ssh-private-keys
knife supermarket download ama-ssh-private-keys
README
Dependencies
Changelog
Quality 40%

Cookbook ama-ssh-private-keys

Supermarket
CircleCI / master
Scrutinizer

This cookbook allows end user to install private keys for specified
accounts.

Cookbook provides self-explanatory ssh_private_key resource:

ssh_private_key 'id_rsa' do
  user 'jodie'
  private_key '-----BEGIN PRIVATE KEY-----...'
  public_key 'AAAAB3NzaC1kc...'
  passphrase 'i beg you pardon?'
end

This will create id_rsa and id_rsa.pub in jodie's ~/.ssh folder. If
jodie account doesn't exist yet, /home/jodie/.ssh will be used (or
path specified in the resource - see below). If you are a super lazy
person, there's default recipe that will take data bag with name
specified in ['ama']['ssh-private-keys']['data-bag'] attribute
('ssh-private-keys' by default) and iterate it's contents, creating a
new resource for each item.

By default, keys and passphrase are validated with ssh-keygen that
confirms that all components are what they are and match each other.
This may be turned off as well, if desired.

Cookbook is tested against Debian 7.3+, Ubuntu 14.04+, Centos 6.0+
and Fedora 24+, but generally it should work everywhere.

Full resource specification

ssh_private_key 'hackerman:default' do
  id 'id_rsa' # name_property
  type 'ssh-rsa' # ssh-(rsa|dss|ed25519), ecdsa-sha2-nistp(256|384|521)
  user 'hackerman' # required
  private_key '' # required
  public_key ''
  passphrase 'kung-fury'
  parent_directory '/workspace'
  private_key_mode '0600'
  public_key_mode '0644'
  public_key_suffix '.pub'
  comment 'hack-the-time'
  perform_validation true
  action :create # :create/install, :delete/remove
end

Licensing

MIT License / AMA Team

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

ama-linux-user-management Applicable Versions

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.

[0.1.1] - 2017-06-23

Changed

  • Fixed two bugs preventing default recipe from normal execution

[0.1.0] - 2017-06-20

Added

  • Initial implementation

Collaborator Number Metric
            

0.1.1 failed this metric

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

Contributing File Metric
            

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

License Metric
            

0.1.1 passed this metric

Testing File Metric
            

0.1.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.1.1 passed this metric