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

reprepro (18) Versions 0.2.1

Installs/Configures reprepro for an apt repository

Policyfile
Berkshelf
Knife
cookbook 'reprepro', '= 0.2.1', :supermarket
cookbook 'reprepro', '= 0.2.1'
knife supermarket install reprepro
knife supermarket download reprepro
README
Dependencies
Quality -%

DESCRIPTION

Sets up an APT repository suitable for using the reprepro tool to manage distributions and components.

REQUIREMENTS

Platform: Debian or Ubuntu.

Requires Chef 0.8.x+, client/server. Does not work with Chef Solo due to data bag use.

You'll need to generate the PGP key separately and provide the data in the databag.

USAGE

Attributes

Attributes in this cookbook are set via the default recipe with data from the data bag. The following attributes are used, in the reprepro namespace.

  • fqdn - the fqdn that would go in sources.list
  • description - a description of the repository
  • pgp_email - the email address of the pgp key
  • pgp_fingerprint - the finger print of the pgp key

Data Bag

Create a data bag to store the repository information.

{
  "id": "main",
  "fqdn": "apt.example.com",
  "repo_dir": "/srv/apt",
  "incoming": "/srv/apt_incoming",
  "description": "APT Repository for our packages.",
  "codenames": [
    "lucid", "karmic", "jaunty", "intrepid", "hardy", "sid", "squeeze", "lenny"
  ],
  "pgp": {
    "email": "packages@example.com",
    "fingerprint": "PGP Fingerprint for the key",
    "public": "-----BEGIN PGP PUBLIC KEY BLOCK-----\n-----END PGP PUBLIC KEY BLOCK-----\n",
    "private": "-----BEGIN PGP PRIVATE KEY BLOCK-----\n-----END PGP PRIVATE KEY BLOCK-----\n"
  },
  "pulls": {
    "name": "sid",
    "from": "sid",
    "component": "main"
  },
  "architectures": [
    "amd64","i386","all","source"
  ]
}

LICENSE AND AUTHOR

Author: Joshua Timberman (joshua@opscode.com)

Copyright 2010, Opscode, 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.

No quality metric results found