Update cookbooks and add wordpress cookbook
This commit is contained in:
@@ -1,5 +1,38 @@
|
||||
yum-epel Cookbook CHANGELOG
|
||||
======================
|
||||
This file is used to list changes made in each version of the yum-epel cookbook.
|
||||
|
||||
v0.6.5 (2015-11-23)
|
||||
-------------------
|
||||
- Fix setting bool false properties
|
||||
|
||||
v0.6.4 (2015-10-27)
|
||||
-------------------
|
||||
- Updating default recipe for Chef 13 deprecation warnings. Not
|
||||
passing nil.
|
||||
|
||||
v0.6.3 (2015-09-22)
|
||||
-------------------
|
||||
- Added standard Chef gitignore and chefignore files
|
||||
- Added the standard chef rubocop config
|
||||
- Update contributing, maintainers, and testing docs
|
||||
- Update Chefspec config to 4.X format
|
||||
- Update distro versions in the Kitchen config
|
||||
- Add Travis CI and cookbook version badges in the readme
|
||||
- Expand the requirements section in the readme
|
||||
- Add additional distros to the metadata
|
||||
- Added source_url and issues_url metadata
|
||||
|
||||
v0.6.2 (2015-06-21)
|
||||
-------------------
|
||||
- Depending on yum ~> 3.2
|
||||
- Support for the password attribute wasn't added to the
|
||||
yum_repository LWRP until yum 3.2.0.
|
||||
|
||||
v0.6.1 (2015-06-21)
|
||||
-------------------
|
||||
- Switching to https for URL links
|
||||
- Using metalink URLs
|
||||
|
||||
v0.6.0 (2015-01-03)
|
||||
-------------------
|
||||
@@ -22,42 +55,34 @@ v0.4.0 (2014-07-27)
|
||||
-------------------
|
||||
- [#9] Allowing list of repositories to reference configurable.
|
||||
|
||||
|
||||
v0.3.6 (2014-04-09)
|
||||
-------------------
|
||||
- [COOK-4509] add RHEL7 support to yum-epel cookbook
|
||||
|
||||
|
||||
v0.3.4 (2014-02-19)
|
||||
-------------------
|
||||
COOK-4353 - Fixing typo in readme
|
||||
|
||||
|
||||
v0.3.2 (2014-02-13)
|
||||
-------------------
|
||||
Updating README to explain the 'managed' parameter
|
||||
|
||||
|
||||
v0.3.0 (2014-02-12)
|
||||
-------------------
|
||||
[COOK-4292] - Do not manage secondary repos by default
|
||||
|
||||
|
||||
v0.2.0
|
||||
------
|
||||
Adding Amazon Linux support
|
||||
|
||||
|
||||
v0.1.6
|
||||
------
|
||||
Fixing up attribute values for EL6
|
||||
|
||||
|
||||
v0.1.4
|
||||
------
|
||||
Adding CHANGELOG.md
|
||||
|
||||
|
||||
v0.1.0
|
||||
------
|
||||
initial release
|
||||
|
||||
2
cookbooks/yum-epel/CONTRIBUTING.md
Normal file
2
cookbooks/yum-epel/CONTRIBUTING.md
Normal file
@@ -0,0 +1,2 @@
|
||||
Please refer to
|
||||
https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD
|
||||
19
cookbooks/yum-epel/MAINTAINERS.md
Normal file
19
cookbooks/yum-epel/MAINTAINERS.md
Normal file
@@ -0,0 +1,19 @@
|
||||
<!-- This is a generated file. Please do not edit directly -->
|
||||
|
||||
# Maintainers
|
||||
This file lists how this cookbook project is maintained. When making changes to the system, this
|
||||
file tells you who needs to review your patch - you need a simple majority of maintainers
|
||||
for the relevant subsystems to provide a :+1: on your pull request. Additionally, you need
|
||||
to not receive a veto from a Lieutenant or the Project Lead.
|
||||
|
||||
Check out [How Cookbooks are Maintained](https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD)
|
||||
for details on the process and how to become a maintainer or the project lead.
|
||||
|
||||
# Project Maintainer
|
||||
* [Jennifer Davis](https://github.com/sigje)
|
||||
|
||||
# Maintainers
|
||||
* [Jennifer Davis](https://github.com/sigje)
|
||||
* [Sean OMeara](https://github.com/someara)
|
||||
* [Tim Smith](https://github.com/tas50)
|
||||
* [Thom May](https://github.com/thommay)
|
||||
@@ -1,5 +1,7 @@
|
||||
yum-epel Cookbook
|
||||
============
|
||||
[](http://travis-ci.org/chef-cookbooks/yum-epel)
|
||||
[](https://supermarket.chef.io/cookbooks/yum-epel)
|
||||
|
||||
The yum-epel cookbook takes over management of the default
|
||||
repositoryids shipped with epel-release. It allows attribute
|
||||
@@ -8,8 +10,16 @@ manipulation of `epel`, `epel-debuginfo`, `epel-source`, `epel-testing`,
|
||||
|
||||
Requirements
|
||||
------------
|
||||
* Chef 11 or higher
|
||||
* yum cookbook version 3.0.0 or higher
|
||||
#### Platforms
|
||||
* RHEL/CentOS and derivatives
|
||||
* Fedora
|
||||
|
||||
#### Chef
|
||||
* Chef 11+
|
||||
|
||||
#### Cookbooks
|
||||
* yum version 3.2.0 or higher
|
||||
|
||||
|
||||
Attributes
|
||||
----------
|
||||
@@ -143,11 +153,11 @@ include_recipe 'yum-epel'
|
||||
|
||||
License & Authors
|
||||
-----------------
|
||||
- Author:: Sean OMeara (<someara@opscode.com>)
|
||||
|
||||
```text
|
||||
Copyright:: 2011-2013 Opscode, Inc.
|
||||
**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
|
||||
|
||||
@@ -14,11 +14,11 @@ else
|
||||
when 6
|
||||
default['yum']['epel-debuginfo']['description'] = 'Extra Packages for Enterprise Linux 6 - $basearch - Debug'
|
||||
default['yum']['epel-debuginfo']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch'
|
||||
default['yum']['epel-debuginfo']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
|
||||
default['yum']['epel-debuginfo']['gpgkey'] = 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
|
||||
when 7
|
||||
default['yum']['epel-debuginfo']['description'] = 'Extra Packages for Enterprise Linux 7 - $basearch - Debug'
|
||||
default['yum']['epel-debuginfo']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch'
|
||||
default['yum']['epel-debuginfo']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7'
|
||||
default['yum']['epel-debuginfo']['gpgkey'] = 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@ else
|
||||
default['yum']['epel-source']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
|
||||
when 6
|
||||
default['yum']['epel-source']['description'] = 'Extra Packages for Enterprise Linux 6 - $basearch - Source'
|
||||
default['yum']['epel-source']['mirrorlist'] = 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-source-6&arch=$basearch'
|
||||
default['yum']['epel-source']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
|
||||
default['yum']['epel-source']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch'
|
||||
default['yum']['epel-source']['gpgkey'] = 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
|
||||
when 7
|
||||
default['yum']['epel-source']['description'] = 'Extra Packages for Enterprise Linux 7 - $basearch - Source'
|
||||
default['yum']['epel-source']['mirrorlist'] = 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-source-7&arch=$basearch'
|
||||
default['yum']['epel-source']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7'
|
||||
default['yum']['epel-source']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch'
|
||||
default['yum']['epel-source']['gpgkey'] = 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@ else
|
||||
default['yum']['epel']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
|
||||
when 6
|
||||
default['yum']['epel']['description'] = 'Extra Packages for Enterprise Linux 6 - $basearch'
|
||||
default['yum']['epel']['mirrorlist'] = 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch'
|
||||
default['yum']['epel']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
|
||||
default['yum']['epel']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch'
|
||||
default['yum']['epel']['gpgkey'] = 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
|
||||
when 7
|
||||
default['yum']['epel']['description'] = 'Extra Packages for Enterprise Linux 7 - $basearch'
|
||||
default['yum']['epel']['mirrorlist'] = 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=$basearch'
|
||||
default['yum']['epel']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7'
|
||||
default['yum']['epel']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch'
|
||||
default['yum']['epel']['gpgkey'] = 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -1,34 +1 @@
|
||||
{
|
||||
"name": "yum-epel",
|
||||
"version": "0.6.0",
|
||||
"description": "Installs/Configures yum-epel",
|
||||
"long_description": "",
|
||||
"maintainer": "Chef",
|
||||
"maintainer_email": "Sean OMeara <someara@getchef.com>",
|
||||
"license": "Apache 2.0",
|
||||
"platforms": {
|
||||
"redhat": ">= 0.0.0",
|
||||
"centos": ">= 0.0.0",
|
||||
"scientific": ">= 0.0.0",
|
||||
"amazon": ">= 0.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"yum": "~> 3.0"
|
||||
},
|
||||
"recommendations": {
|
||||
},
|
||||
"suggestions": {
|
||||
},
|
||||
"conflicting": {
|
||||
},
|
||||
"providing": {
|
||||
},
|
||||
"replacing": {
|
||||
},
|
||||
"attributes": {
|
||||
},
|
||||
"groupings": {
|
||||
},
|
||||
"recipes": {
|
||||
}
|
||||
}
|
||||
{"name":"yum-epel","version":"0.6.5","description":"Installs and configures the EPEL Yum repository","long_description":"","maintainer":"Chef Software, Inc.","maintainer_email":"cookbooks@chef.io","license":"Apache 2.0","platforms":{"amazon":">= 0.0.0","centos":">= 0.0.0","fedora":">= 0.0.0","oracle":">= 0.0.0","redhat":">= 0.0.0","scientific":">= 0.0.0"},"dependencies":{"yum":"~> 3.2"},"recommendations":{},"suggestions":{},"conflicting":{},"providing":{},"replacing":{},"attributes":{},"groupings":{},"recipes":{}}
|
||||
@@ -1,8 +1,9 @@
|
||||
#
|
||||
# Author:: Sean OMeara (<someara@getchef.com>)
|
||||
# Recipe:: yum-epel::default
|
||||
# Author:: Sean OMeara (<someara@chef.io>)
|
||||
# Cookbook Name:: yum-epel
|
||||
# Recipe:: default
|
||||
#
|
||||
# Copyright 2013, Chef
|
||||
# Copyright 2013-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.
|
||||
@@ -17,45 +18,44 @@
|
||||
# limitations under the License.
|
||||
|
||||
node['yum-epel']['repositories'].each do |repo|
|
||||
next unless node['yum'][repo]['managed']
|
||||
|
||||
if node['yum'][repo]['managed']
|
||||
yum_repository repo do
|
||||
baseurl node['yum'][repo]['baseurl']
|
||||
cost node['yum'][repo]['cost']
|
||||
description node['yum'][repo]['description']
|
||||
enabled node['yum'][repo]['enabled']
|
||||
enablegroups node['yum'][repo]['enablegroups']
|
||||
exclude node['yum'][repo]['exclude']
|
||||
failovermethod node['yum'][repo]['failovermethod']
|
||||
fastestmirror_enabled node['yum'][repo]['fastestmirror_enabled']
|
||||
gpgcheck node['yum'][repo]['gpgcheck']
|
||||
gpgkey node['yum'][repo]['gpgkey']
|
||||
http_caching node['yum'][repo]['http_caching']
|
||||
include_config node['yum'][repo]['include_config']
|
||||
includepkgs node['yum'][repo]['includepkgs']
|
||||
keepalive node['yum'][repo]['keepalive']
|
||||
max_retries node['yum'][repo]['max_retries']
|
||||
metadata_expire node['yum'][repo]['metadata_expire']
|
||||
mirror_expire node['yum'][repo]['mirror_expire']
|
||||
mirrorlist node['yum'][repo]['mirrorlist']
|
||||
mirrorlist_expire node['yum'][repo]['mirrorlist_expire']
|
||||
password node['yum'][repo]['password']
|
||||
priority node['yum'][repo]['priority']
|
||||
proxy node['yum'][repo]['proxy']
|
||||
proxy_username node['yum'][repo]['proxy_username']
|
||||
proxy_password node['yum'][repo]['proxy_password']
|
||||
report_instanceid node['yum'][repo]['report_instanceid']
|
||||
repositoryid node['yum'][repo]['repositoryid']
|
||||
skip_if_unavailable node['yum'][repo]['skip_if_unavailable']
|
||||
source node['yum'][repo]['source']
|
||||
sslcacert node['yum'][repo]['sslcacert']
|
||||
sslclientcert node['yum'][repo]['sslclientcert']
|
||||
sslclientkey node['yum'][repo]['sslclientkey']
|
||||
sslverify node['yum'][repo]['sslverify']
|
||||
timeout node['yum'][repo]['timeout']
|
||||
username node['yum'][repo]['username']
|
||||
yum_repository repo do
|
||||
baseurl node['yum'][repo]['baseurl'] unless node['yum'][repo]['baseurl'].nil?
|
||||
cost node['yum'][repo]['cost'] unless node['yum'][repo]['cost'].nil?
|
||||
description node['yum'][repo]['description'] unless node['yum'][repo]['description'].nil?
|
||||
enabled node['yum'][repo]['enabled'] unless node['yum'][repo]['enabled'].nil?
|
||||
enablegroups node['yum'][repo]['enablegroups'] unless node['yum'][repo]['enablegroups'].nil?
|
||||
exclude node['yum'][repo]['exclude'] unless node['yum'][repo]['exclude'].nil?
|
||||
failovermethod node['yum'][repo]['failovermethod'] unless node['yum'][repo]['failovermethod'].nil?
|
||||
fastestmirror_enabled node['yum'][repo]['fastestmirror_enabled'] unless node['yum'][repo]['fastestmirror_enabled'].nil?
|
||||
gpgcheck node['yum'][repo]['gpgcheck'] unless node['yum'][repo]['gpgcheck'].nil?
|
||||
gpgkey node['yum'][repo]['gpgkey'] unless node['yum'][repo]['gpgkey'].nil?
|
||||
http_caching node['yum'][repo]['http_caching'] unless node['yum'][repo]['http_caching'].nil?
|
||||
include_config node['yum'][repo]['include_config'] unless node['yum'][repo]['include_config'].nil?
|
||||
includepkgs node['yum'][repo]['includepkgs'] unless node['yum'][repo]['includepkgs'].nil?
|
||||
keepalive node['yum'][repo]['keepalive'] unless node['yum'][repo]['keepalive'].nil?
|
||||
max_retries node['yum'][repo]['max_retries'] unless node['yum'][repo]['max_retries'].nil?
|
||||
metadata_expire node['yum'][repo]['metadata_expire'] unless node['yum'][repo]['metadata_expire'].nil?
|
||||
mirror_expire node['yum'][repo]['mirror_expire'] unless node['yum'][repo]['mirror_expire'].nil?
|
||||
mirrorlist node['yum'][repo]['mirrorlist'] unless node['yum'][repo]['mirrorlist'].nil?
|
||||
mirrorlist_expire node['yum'][repo]['mirrorlist_expire'] unless node['yum'][repo]['mirrorlist_expire'].nil?
|
||||
password node['yum'][repo]['password'] unless node['yum'][repo]['password'].nil?
|
||||
priority node['yum'][repo]['priority'] unless node['yum'][repo]['priority'].nil?
|
||||
proxy node['yum'][repo]['proxy'] unless node['yum'][repo]['proxy'].nil?
|
||||
proxy_username node['yum'][repo]['proxy_username'] unless node['yum'][repo]['proxy_username'].nil?
|
||||
proxy_password node['yum'][repo]['proxy_password'] unless node['yum'][repo]['proxy_password'].nil?
|
||||
report_instanceid node['yum'][repo]['report_instanceid'] unless node['yum'][repo]['report_instanceid'].nil?
|
||||
repositoryid node['yum'][repo]['repositoryid'] unless node['yum'][repo]['repositoryid'].nil?
|
||||
skip_if_unavailable node['yum'][repo]['skip_if_unavailable'] unless node['yum'][repo]['skip_if_unavailable'].nil?
|
||||
source node['yum'][repo]['source'] unless node['yum'][repo]['source'].nil?
|
||||
sslcacert node['yum'][repo]['sslcacert'] unless node['yum'][repo]['sslcacert'].nil?
|
||||
sslclientcert node['yum'][repo]['sslclientcert'] unless node['yum'][repo]['sslclientcert'].nil?
|
||||
sslclientkey node['yum'][repo]['sslclientkey'] unless node['yum'][repo]['sslclientkey'].nil?
|
||||
sslverify node['yum'][repo]['sslverify'] unless node['yum'][repo]['sslverify'].nil?
|
||||
timeout node['yum'][repo]['timeout'] unless node['yum'][repo]['timeout'].nil?
|
||||
username node['yum'][repo]['username'] unless node['yum'][repo]['username'].nil?
|
||||
|
||||
action :create
|
||||
end
|
||||
action :create
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user