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

yum_dag (1) Versions 0.1.3

Used to create a graph of yum repositories

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

yum_dag Cookbook

Chef cookbook for creating a directed acyclic graph (DAG) of yum repositories. I suppose you could create a cycle in your graph, but why would you?

Requirements

Cookbooks

  • yum
  • httpd

Packages

  • httpd
  • createrepo

Attributes

  • ['yum_dag']['upstreams']
    Type: Array of Object
    Description: Upstreams that the current node should connect to. The node will issue a reposync command to all upstreams in order to pull all of their packages into the local repository.
    Default: None
  • ['yum_dag']['upstreams'][n]['repoid']
    Type: String
    Description: The ID of the upstream yum repository
    Default: None
  • ['yum_dag']['upstreams'][n]['description']
    Type: String
    Description: A description and friendly name for the upstream yum repository
    Default: None
  • ['yum_dag']['upstreams'][n]['baseurl']
    Type: String
    Description: A url for the upstream yum repository. http, file, and ftp protocols are acceptable. See more here.
    Default: None
  • ['yum_dag']['seed_packages']['repotrack']
    Type: Array of String
    Description: Packages that should be downloaded via repotrack. These packages will be placed in the local yum repository.
    Default: None
  • ['yum_dag']['local_repo']['id']
    Type: String
    Description: The ID of the local yum repository
    Default: "local"
  • ['yum_dag']['local_repo']['location']
    Type: String
    Description: The location of the local yum repository
    Default: "/var/www/yum"
  • ['yum_dag']['local_repo']['description']
    Type: String
    Description: A description and friendly name for the local yum repository
    Default: "Local"

Usage

There are several recipes, but you'll likely want to use one of the default recipes depending on your node's needs:

Recipe Internet access? Downstream repos? Description
default_source Yes Yes This is a node you can use to grab packages from the internet so that they are avilable to downstream nodes. Useful for downstream nodes that are offline and rely on a source to provide packages from the internet.
default No Yes This is a node that syncs to upstream nodes and exposes itself over http to downstream nodes.
default_sink No No This is a node that syncs to upstream nodes, but has no downstream nodes and therefore no need for a web server.

LWRP

Coming in the future...

Dependent cookbooks

yum ~> 3.10.0
httpd ~> 0.2

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.3 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.3 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.3 passed this metric

No Binaries Metric
            

0.1.3 passed this metric

Testing File Metric
            

0.1.3 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.3 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