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

tarsnap (4) Versions 0.0.10

Installs/Configures tarsnap

Berkshelf/Librarian
Policyfile
Knife
cookbook 'tarsnap', '= 0.0.10'
cookbook 'tarsnap', '= 0.0.10', :supermarket
knife cookbook site install tarsnap
knife cookbook site download tarsnap
README
Dependencies
Quality

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
  • 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

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

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found