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

gnugpg (2) Versions 0.1.1

Installs/Configures gnugpg

Policyfile
Berkshelf
Knife
cookbook 'gnugpg', '~> 0.1.1', :supermarket
cookbook 'gnugpg', '~> 0.1.1'
knife supermarket install gnugpg
knife supermarket download gnugpg
README
Dependencies
Quality 33%

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_wrapper_recipe.rb
---------------------
node['gnugpg']['keys']['file'].each do |key|
  template "#{node['gnugpg']['temp']['directory']}\\#{key}" do
    source "gpg/#{key}.erb"
  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.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.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

Foodcritic Metric
            

0.1.1 passed this metric

No Binaries 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 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