cookbook 'yum-pgdg', '~> 3.0.0'
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.
yum-pgdg (11) Versions 3.0.0 Follow4
Installs and configures the PGDG yum repo
cookbook 'yum-pgdg', '~> 3.0.0', :supermarket
knife supermarket install yum-pgdg
knife supermarket download yum-pgdg
yum-pgdg Cookbook
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 12.14+
Cookbooks
- none
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-2016, 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
This cookbook has no specified dependencies.
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.
3.0.0 (2018-02-16)
- Require Chef 12.14+ and remove compat_resource dep
- Resolve ChefSpec warnings
- Use a SPDX compliant license string
2.0.1 (2016-12-22)
- Depend on the latest compat_resource cookbook
- Cookstyle fixes
2.0.0 (2016-11-26)
- Replace yum dependency with compat_resource
- Convert to inspec for testing
1.0.0 (2016-09-06)
- Testing updates
- Add chef_version metadata
- Remove support for Chef 11
v0.2.7 (2015-12-01)
- Fixing if/unless logic in recipe
v0.2.6 (2015-11-30)
- Fixed attributes with value of false being ignored
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
Collaborator Number Metric
3.0.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
3.0.0 failed this metric
Contributing File Metric
3.0.0 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
3.0.0 failed this metric
Foodcritic Metric
3.0.0 passed this metric
3.0.0 passed this metric
No Binaries Metric
3.0.0 passed this metric
3.0.0 passed this metric
Testing File Metric
3.0.0 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
3.0.0 failed this metric
Version Tag Metric
3.0.0 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
3.0.0 failed this metric