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

tarsnap (4) Versions 0.1.2

Installs/Configures tarsnap

Policyfile
Berkshelf
Knife
cookbook 'tarsnap', '~> 0.1.2', :supermarket
cookbook 'tarsnap', '~> 0.1.2'
knife supermarket install tarsnap
knife supermarket download tarsnap
README
Dependencies
Quality 17%

Tarsnap cookbook

This cookbook installs and configures tarsnap. Optionally it can also
install and configure tarsnapper.

Requirements

Platforms:

  • FreeBSD 8.x and 9.x
  • Ubuntu 10.04, 11.10 and 12.04
  • Debian 6.x
  • CentOS 5.8 and 6.3

Warning: at the moment the tarsnapper recipe is somewhat broken on CentOS 5.8.

Tests

This cookbook in the source repository contains minitest tests.

Attributes

General settings

  • node['tarsnap']['version'] - The version of tarsnap to install. Defaults to "1.0.32".
  • node['tarsnap']['cachedir'] - Value for cachedir directive. Defaults to "/usr/local/tarsnap-cache".

Platform specific

In order to support the broadest number of platforms, several attributes are determined based on the node's platform. See the attributes/default.rb file for default values in the case statement.

  • node['tarsnap']['install_method'] - Can be either ports (for FreeBSD) or source (for distros that don't have a pre-packaged version of tarsnap).
  • node['tarsnap']['conf_dir'] - The directory where configuration files should be stored.
  • node['tarsnap']['private_key'] - The private key for connecting to tarsnap.

Tarsnapper settings

  • node['tarsnapper']['retention'] - How long to retain the backups; see the documentation for tarsnapper.
  • node['tarsnapper']['packages'] - Platform-specific dependencies for tarsnapper.

Recipes

default

The default recipe installs tarsnap by calling the appropriate recipe, then builds a configuration file.

Due to tarsnap's security model, you will need to manually create a key on each node.

freebsd

Installs tarsnap from FreeBSD ports.

sources

Build and installs tarsnap from a source tarball.

tarsnapper

Installs and configures tarsnapper.

License and Authors

Author:: Andrea Campi andrea.campi@zephirworks.com

Copyright:: 2011-2012, ZephirWorks

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

build-essential >= 0.0.0
git >= 0.0.0
python >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.2 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.2 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.2 failed this metric

FC064: Ensure issues_url is set in metadata: tarsnap/metadata.rb:1
FC065: Ensure source_url is set in metadata: tarsnap/metadata.rb:1
FC066: Ensure chef_version is set in metadata: tarsnap/metadata.rb:1
FC069: Ensure standardized license defined in metadata: tarsnap/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: tarsnap/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: tarsnap/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: tarsnap/recipes/sources.rb:23
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.1.2 passed this metric

Testing File Metric
            

0.1.2 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.2 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