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

zncrypt (10) Versions 0.3.2

Installs/Configures zNcrypt 3.x

Policyfile
Berkshelf
Knife
cookbook 'zncrypt', '~> 0.3.2', :supermarket
cookbook 'zncrypt', '~> 0.3.2'
knife supermarket install zncrypt
knife supermarket download zncrypt
README
Dependencies
Quality 38%

Description

Installs zNcrypt 3.x and prerequistes

Requirements

Platform

  • Debian, Ubuntu
  • CentOS, Red Hat, Fedora

Tested on:

  • Ubuntu 10.04, 12.04
  • CentOS 6.2

Cookbooks

Requires apt and yum cookbooks to add gpg keys and gazzang repo.
Requires openssl cookbook to generate a strong passhrase

git clone git://github.com/opscode-cookbooks/apt
knife cookbook upload apt

git clone git://github.com/opscode-cookbooks/yum
knife cookbook upload yum

git clone git://github.com/opscode-cookbooks/openssl
knife cookbook upload openssl

The cassandra recipe depends on Java, by default is OpenJDK

git clone git://github.com/opscode-cookbooks/java
knife cookbook upload java

Requires a C compiler for Dynamic Kernel Module compilation.

Attributes

See attributes/default.rb for default values

  • node["zncrypt"]["zncrypt_mount"] - mount point for zncrypt, default /var/lib/ezncrypt/ezncrypted.
  • node["zncrypt"]["zncrypt_storage"] - directory to store encrypted data, default /var/lib/ezncrypt/storage.
  • node["zncrypt"]["zncrypt_admin_email"] - email address of zNcrypt license key Administrator`.

Usage

include_recipe "zncrypt::default" - installs, configures and activates zncrypt
include_recipe "zncrypt::zncrypt" - installs only zncrypt
include_recipe "zncrypt::cassandra" -installs cassandra and configures zncrypt
include_recipe "zncrypt::mongodb" -installs mongodb and configures zncrypt

This will install zNcrypt 3.x, dkms and the required kernel headers.

Data Bag

Add a databag for each server with a Gazzang license and activation code

"data_bag": "masterkey_bag",
"name": "masterkey_bag",
"json_class": "Chef::DataBagItem",
"chef_type": "data_bag_item",
"raw_data": {
"id": "key1",
"passphrase": "yourpassphrase",
"passphrase2": "yourpassphrase",
}

License and Author

Author:: Eddie Garcia (eddie.garcia@gazzang.com)

Copyright:: 2012 Gazzang, Inc

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

apt >= 0.0.0
java >= 0.0.0
openssl >= 0.0.0
yum >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.3.2 failed this metric

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

Foodcritic Metric
            

0.3.2 failed this metric

FC009: Resource attribute not recognised: zncrypt/recipes/cassandra.rb:36
FC009: Resource attribute not recognised: zncrypt/recipes/mongodb.rb:27
FC009: Resource attribute not recognised: zncrypt/recipes/zncrypt.rb:31
FC043: Prefer new notification syntax: zncrypt/recipes/cassandra.rb:46
FC043: Prefer new notification syntax: zncrypt/recipes/mongodb.rb:37
FC043: Prefer new notification syntax: zncrypt/recipes/zncrypt.rb:42
FC064: Ensure issues_url is set in metadata: zncrypt/metadata.rb:1
FC065: Ensure source_url is set in metadata: zncrypt/metadata.rb:1
FC066: Ensure chef_version is set in metadata: zncrypt/metadata.rb:1
FC069: Ensure standardized license defined in metadata: zncrypt/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.3.2 passed this metric


You must be signed in to follow a cookbook.