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

gnugpg (2) Versions 0.1.0

Installs/Configures gnugpg

Berkshelf/Librarian
Policyfile
Knife
cookbook 'gnugpg', '= 0.1.0'
cookbook 'gnugpg', '= 0.1.0', :supermarket
knife cookbook site install gnugpg
knife cookbook site download gnugpg
README
Dependencies
Quality 56%

gnugpg Cookbook

Cookbook to deploy gnugpg - a complete and free implementation of the OpenPGP standard.

Gem Version Build Status

Requirements

Windows Server

There are two things to override among gnugpg attributes

node['gnugpg']['keys']['file'] - this defaults to c:\tmp directory node['gnugpg']['temp']['directory'] - this is an array of GPG keys that you want to install

There is a need to create a wrapper recipe to copy your GPG keys into the target host. The gnugpg cookbook expects the key or keys to be inside node['gnugpg']['temp']['directory'] directory.

This cookbook needs to be included after the wrapper has been called.

Chef

  • Chef 12.7+

Platform

  • CentOS, Red Hat - (to support on next version)
  • Amazon Linux, Amazon - (to support on next version)
  • Windows Server

Tested on:

  • Windows Server 2012 Standard R2

Usage

Use the following code snippets.

Examples (Windows)

gnugpg_override.rb
---------------------
override['gnugpg']['keys']['file'] = ['gpg-secret-key.asc']
override['gnugpg']['temp']['directory'] = 'c:\\temp'


gnugpg_warpper_recipe.rb
---------------------
node['gnugpg']['keys']['file'].each do |key|
  file "create_#{key}"
    group "Administrators"
    path "#{node['gnugpg']['temp']['directory']}\\#{key}"
    source "gpg/#{key}"
  end
end

include_recipe 'gnugpg::default'

Authors

Author:: Rodel M. Talampas

Dependent cookbooks

ohai >= 4.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

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

License Metric
            

0.1.0 passed this metric

No Binaries Metric
            

0.1.0 passed this metric

Publish Metric
            

0.1.0 passed this metric

Supported Platforms 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