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

ssl_helper (1) Versions 0.0.1

Installs ssl stuff

Policyfile
Berkshelf
Knife
cookbook 'ssl_helper', '~> 0.0.1', :supermarket
cookbook 'ssl_helper', '~> 0.0.1'
knife supermarket install ssl_helper
knife supermarket download ssl_helper
README
Dependencies
Quality 0%

ssl_helper Cookbook

This cookbook designed to work with certificates/keyfiles in encrypted data bags/

Requirements

No additional requirements

Attributes

  • ssl_helper::default <table> <tr> <th>Key</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> <tr> <td><tt>default[:ssl][:certificates][:data_bag] = "certificates"</tt></td> <td>String/td> <td>Choose which data bag to use</td> <td><tt>certificate</tt></td> </tr> </table>

Usage

  • ssl_helper::default

`
This resource will install secret.pem with contents from encrypted data_bag : certificates/security.com
ssl_helper_ssl_pem "/etc/secret.pem" do
owner "root"
group "root"
mode 0400
cn "security.com"
end

This entry will install ca.crt with contents from encrypted data_bag : certificates/authority.com
ssl_helper_ssl_ca_certificate "/etc/ca.crt" do
owner "root"
group "root"
mode 0644
authority "authority.com"
end

This entry will install secret.crt with contents from encrypted data_bag : certificates/mycert.com to /etc/secret.crt.
Also it will install secret.com.key to /etc/secret.com.key with content from encrypted data_bag : certificates/mycert.com
ssl_helper_ssl_ca_certificate "/etc/secret.crt" do
owner "root"
group "root"
mode 0644
cn "mycert.com"
key "/etc/secret.com.key"
end

This entry will install security.crt with contents from encrypted data_bag : certificates/security.com to /etc/security.crt
ssl_helper_ssl_ca_certificate "/etc/security.crt" do
owner "root"
group "root"
mode 0644
cn "security.com"
end

`

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

License and Authors

Authors:
sanicheev@tacitknowledge.com

Dependent cookbooks

This cookbook has no specified dependencies.

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

FC064: Ensure issues_url is set in metadata: ssl_helper/metadata.rb:1
FC065: Ensure source_url is set in metadata: ssl_helper/metadata.rb:1
FC066: Ensure chef_version is set in metadata: ssl_helper/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: ssl_helper/providers/ssl_ca_certificate.rb:27
FC085: Resource using new_resource.updated_by_last_action to converge resource: ssl_helper/providers/ssl_certificate.rb:47
FC085: Resource using new_resource.updated_by_last_action to converge resource: ssl_helper/providers/ssl_certificate.rb:48
FC085: Resource using new_resource.updated_by_last_action to converge resource: ssl_helper/providers/ssl_pem.rb:39
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.0.1 failed this metric

Failure: Cookbook should not contain binaries. Found:
ssl_helper/recipes/default.rb

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