Update cookbooks and add wordpress cookbook
This commit is contained in:
@@ -1,21 +1,24 @@
|
||||
yum-mysql-community Cookbook
|
||||
============
|
||||
# yum-mysql-community Cookbook
|
||||
[](http://travis-ci.org/chef-cookbooks/yum-mysql-community) [](https://supermarket.chef.io/cookbooks/yum-mysql-community)
|
||||
|
||||
The yum-mysql-community cookbook takes over management of the default
|
||||
repositoryids shipped with epel-release. It allows attribute
|
||||
manipulation of `mysql-connectors-community`, `mysql56-community`, and
|
||||
`mysql57-community-dmr`.
|
||||
The yum-mysql-community cookbook takes over management of the default repository ids shipped with epel-release. It allows attribute manipulation of `mysql-connectors-community`, `mysql56-community`, and `mysql57-community-dmr`.
|
||||
|
||||
Requirements
|
||||
------------
|
||||
* Chef 11 or higher
|
||||
* yum cookbook version 3.0.0 or higher
|
||||
## Requirements
|
||||
### Platforms
|
||||
- RHEL/CentOS and derivatives
|
||||
- Fedora
|
||||
|
||||
Attributes
|
||||
----------
|
||||
### Chef
|
||||
- Chef 11+
|
||||
|
||||
### Cookbooks
|
||||
- yum version 3.0.0 or higher
|
||||
- yum-epel
|
||||
|
||||
## Attributes
|
||||
The following attributes are set by default
|
||||
|
||||
``` ruby
|
||||
```ruby
|
||||
default['yum']['mysql-connectors-community']['repositoryid'] = 'mysql-connectors-community'
|
||||
default['yum']['mysql-connectors-community']['description'] = 'MySQL Connectors Community'
|
||||
default['yum']['mysql-connectors-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-connectors-community/el/$releasever/$basearch/'
|
||||
@@ -25,7 +28,7 @@ default['yum']['mysql-connectors-community']['gpgcheck'] = true
|
||||
default['yum']['mysql-connectors-community']['enabled'] = true
|
||||
```
|
||||
|
||||
``` ruby
|
||||
```ruby
|
||||
default['yum']['mysql56-community']['repositoryid'] = 'mysql56-community'
|
||||
default['yum']['mysql56-community']['description'] = 'MySQL 5.6 Community Server'
|
||||
default['yum']['mysql56-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql56-community/el/$releasever/$basearch/'
|
||||
@@ -35,7 +38,7 @@ default['yum']['mysql56-community']['gpgcheck'] = true
|
||||
default['yum']['mysql56-community']['enabled'] = true
|
||||
```
|
||||
|
||||
``` ruby
|
||||
```ruby
|
||||
default['yum']['mysql57-community-dmr']['repositoryid'] = 'mysql57-community-dmr'
|
||||
default['yum']['mysql57-community-dmr']['description'] = 'MySQL 5.7 Community Server Development Milestone Release'
|
||||
default['yum']['mysql57-community-dmr']['baseurl'] = 'http://repo.mysql.com/yum/mysql56-community/el/$releasever/$basearch/'
|
||||
@@ -45,10 +48,9 @@ default['yum']['mysql57-community-dmr']['gpgcheck'] = true
|
||||
default['yum']['mysql57-community-dmr']['enabled'] = true
|
||||
```
|
||||
|
||||
Recipes
|
||||
-------
|
||||
* mysql55 - Sets up the mysql56-community repository on supported
|
||||
platforms
|
||||
## Recipes
|
||||
- mysql55 - Sets up the mysql56-community repository on supported
|
||||
- platforms
|
||||
|
||||
```ruby
|
||||
yum_repository 'mysql55-community' do
|
||||
@@ -59,8 +61,8 @@ Recipes
|
||||
end
|
||||
```
|
||||
|
||||
* mysql56 - Sets up the mysql56-community repository on supported
|
||||
platforms
|
||||
- mysql56 - Sets up the mysql56-community repository on supported
|
||||
- platforms
|
||||
|
||||
```ruby
|
||||
yum_repository 'mysql56-community' do
|
||||
@@ -71,13 +73,10 @@ Recipes
|
||||
end
|
||||
```
|
||||
|
||||
- connectors - Sets up the mysql-connectors-community repository on supported
|
||||
- platforms
|
||||
|
||||
* connectors - Sets up the mysql-connectors-community repository on supported
|
||||
platforms
|
||||
|
||||
|
||||
Usage Example
|
||||
-------------
|
||||
## Usage Example
|
||||
To disable the epel repository through a Role or Environment definition
|
||||
|
||||
```
|
||||
@@ -92,10 +91,7 @@ default_attributes(
|
||||
)
|
||||
```
|
||||
|
||||
Uncommonly used repositoryids are not managed by default. This is
|
||||
speeds up integration testing pipelines by avoiding yum-cache builds
|
||||
that nobody cares about. To enable the epel-testing repository with a
|
||||
wrapper cookbook, place the following in a recipe:
|
||||
Uncommonly used repositoryids are not managed by default. This is speeds up integration testing pipelines by avoiding yum-cache builds that nobody cares about. To enable the epel-testing repository with a wrapper cookbook, place the following in a recipe:
|
||||
|
||||
```
|
||||
node.default['yum']['mysql57-community-dmr']['enabled'] = true
|
||||
@@ -103,8 +99,7 @@ node.default['yum']['mysql57-community-dmr']['managed'] = true
|
||||
include_recipe 'mysql57-community-dmr'
|
||||
```
|
||||
|
||||
More Examples
|
||||
-------------
|
||||
## More Examples
|
||||
Point the mysql56-community repositories at an internally hosted server.
|
||||
|
||||
```
|
||||
@@ -116,13 +111,12 @@ node.default['yum']['mysql56-community']['sslverify'] = false
|
||||
include_recipe 'mysql56-community'
|
||||
```
|
||||
|
||||
License & Authors
|
||||
-----------------
|
||||
- Author:: Sean OMeara (<sean@chef.io>)
|
||||
## License & Authors
|
||||
**Author:** Cookbook Engineering Team ([cookbooks@chef.io](mailto:cookbooks@chef.io))
|
||||
|
||||
```text
|
||||
Copyright:: 2011-2015, Chef Software, Inc.
|
||||
**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
|
||||
|
||||
Reference in New Issue
Block a user