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

The yum-pgdg cookbook has been deprecated

Author provided reason for deprecation:

The yum-pgdg cookbook has been deprecated and is no longer being maintained by its authors. Use of the yum-pgdg cookbook is no longer recommended.

RSS

yum-pgdg (11) Versions 0.2.5

Installs and configures the PGDG yum repo

Policyfile
Berkshelf
Knife
cookbook 'yum-pgdg', '= 0.2.5', :supermarket
cookbook 'yum-pgdg', '= 0.2.5'
knife supermarket install yum-pgdg
knife supermarket download yum-pgdg
README
Dependencies
Changelog
Quality 100%

yum-pgdg Cookbook

Build Status
Cookbook Version

The yum-pgdg cookbook takes over management of the default
repositoryids that ship with pgdg. It allows attribute
manipulation of pgdg.

Requirements

Platforms

  • RHEL/CentOS and derivatives
  • Fedora

Chef

  • Chef 11+

Cookbooks

  • yum version 3.2.0 or higher

Attributes

The following attributes are set by default

default['yum']['pgdg']['repositoryid'] = 'pgdg-9.3'
default['yum']['pgdg']['baseurl'] = 'http://yum.pgrpms.org/9.3/fedora/fedora-$releasever-$basearch'
default['yum']['pgdg']['description'] = 'PostgreSQL 9.3'
default['yum']['pgdg']['enabled'] = true
default['yum']['pgdg']['gpgcheck'] = true
default['yum']['pgdg']['gpgkey'] = 'http://yum.postgresql.org/RPM-GPG-KEY-PGDG'

Recipes

  • default - Walks through node attributes and feeds a yum_resource parameters. The following is an example a resource generated by the recipe during compilation.
  yum_repository 'pgdg-9.3' do
    mirrorlist 'http://yum.pgrpms.org/9.3/fedora/fedora-$releasever-$basearch'
    description 'PostgreSQL 9.3'
    enabled true
    gpgcheck true
    gpgkey 'http://yum.postgresql.org/RPM-GPG-KEY-PGDG'
  end

Usage Example

To disable the pgdg repository through a Role or Environment definition

default_attributes(
  :yum => {
    :pgdg => {
      :enabled => {
        false
       }
     }
   }
 )

More Examples

Point the base and updates repositories at an internally hosted server.

node.default['yum']['pgdg']['enabled'] = true
node.default['yum']['pgdg']['mirrorlist'] = nil
node.default['yum']['pgdg']['baseurl'] = 'https://internal.example.com/pgdg/9.3/fedora-19-x86_64'
node.default['yum']['pgdg']['sslverify'] = false

include_recipe 'yum-pgdg'

License & Authors

Author: Cookbook Engineering Team (cookbooks@chef.io)

Copyright: 2011-2015, Chef Software, 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

yum ~> 3.2

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

yum-pgdg Cookbook CHANGELOG

This file is used to list changes made in each version of the yum-pgdg cookbook.

v0.2.5 (2015-10-28)

  • Fixing Chef 13 nil property deprecation warnings

v0.2.4 (2015-09-21)

  • Update yum dependency from ~3.0 to ~3.2
  • Added Chef standard Rubocop file
  • Updated platforms in Kitchen CI config
  • Add supported platforms to the metadata
  • Added Chef standard chefignore and .gitignore files
  • Updated Berksfile to 3.X format
  • Updated and expanded development dependencies in the Gemfile
  • Added contributing, testing, and maintainers docs
  • Added platform requirements to the readme
  • Added Travis and cookbook version badges to the readme
  • Added source_url and issues_url to the metadata

v0.2.2 (2014-06-11)

  • Fix typos in README

v0.2.0 (2014-02-14)

  • Updating test harness

v0.1.4

Adding CHANGELOG.md

v0.1.0

initial release

Foodcritic Metric
            

0.2.5 passed this metric