Initial Chef repository
This commit is contained in:
98
cookbooks/yum-mysql-community/CHANGELOG.md
Normal file
98
cookbooks/yum-mysql-community/CHANGELOG.md
Normal file
@@ -0,0 +1,98 @@
|
||||
yum-mysql-community Cookbook CHANGELOG
|
||||
======================
|
||||
This file is used to list changes made in each version of the yum-mysql-community cookbook.
|
||||
|
||||
v0.1.17 (2015-04-06)
|
||||
--------------------
|
||||
- Updating pubkey link from someara to chef-client github orgs
|
||||
|
||||
v0.1.16 (2015-03-25)
|
||||
--------------------
|
||||
- Adding support Amazon Linux 2015.03 to all channels
|
||||
|
||||
v0.1.15 (2015-03-25)
|
||||
--------------------
|
||||
- Added support for amazon linux 2015.03
|
||||
|
||||
v0.1.14 (2015-03-12)
|
||||
--------------------
|
||||
- The content of 0.1.13 is questionable: didn't have changelog entry, may have had merged attribute change, but let's be clear and say at least this version 0.1.14 is the right thing.
|
||||
|
||||
v0.1.13 (2015-03-12)
|
||||
--------------------
|
||||
- #3 corrected typo in public key attribute
|
||||
|
||||
v0.1.12 (2015-01-20)
|
||||
-------------------
|
||||
- Minor style updates
|
||||
|
||||
v0.1.11 (2014-07-21)
|
||||
-------------------
|
||||
- Adding RHEL-7 support
|
||||
|
||||
v0.1.10 (2014-07-21)
|
||||
-------------------
|
||||
- Adding mysql-5.7 and centos 7 support
|
||||
|
||||
v0.1.8 (2014-06-18)
|
||||
-------------------
|
||||
- Updating to support real RHEL
|
||||
|
||||
v0.1.6 (2014-06-16)
|
||||
-------------------
|
||||
Fixing typo in mysql55-community attributes
|
||||
|
||||
|
||||
v0.1.4 (2014-06-13)
|
||||
-------------------
|
||||
- updating url to keys in cookbook attributes
|
||||
|
||||
|
||||
v0.1.2 (2014-06-11)
|
||||
-------------------
|
||||
#1 - Move files/mysql_pubkey.asc to files/default/mysql_pubkey.asc
|
||||
|
||||
|
||||
v0.1.0 (2014-04-30)
|
||||
-------------------
|
||||
Initial release
|
||||
|
||||
|
||||
v0.3.6 (2014-04-09)
|
||||
-------------------
|
||||
- [COOK-4509] add RHEL7 support to yum-mysql-community 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
|
||||
137
cookbooks/yum-mysql-community/README.md
Normal file
137
cookbooks/yum-mysql-community/README.md
Normal file
@@ -0,0 +1,137 @@
|
||||
yum-mysql-community Cookbook
|
||||
============
|
||||
|
||||
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`.
|
||||
|
||||
Requirements
|
||||
------------
|
||||
* Chef 11 or higher
|
||||
* yum cookbook version 3.0.0 or higher
|
||||
|
||||
Attributes
|
||||
----------
|
||||
The following attributes are set by default
|
||||
|
||||
``` 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/'
|
||||
default['yum']['mysql-connectors-community']['gpgkey'] = 'https://raw.githubusercontent.com/rs-services/equinix-public/master/cookbooks/db_mysql/files/centos/mysql_pubkey.asc'
|
||||
default['yum']['mysql-connectors-community']['failovermethod'] = 'priority'
|
||||
default['yum']['mysql-connectors-community']['gpgcheck'] = true
|
||||
default['yum']['mysql-connectors-community']['enabled'] = true
|
||||
```
|
||||
|
||||
``` 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/'
|
||||
default['yum']['mysql56-community']['gpgkey'] = 'https://raw.githubusercontent.com/rs-services/equinix-public/master/cookbooks/db_mysql/files/centos/mysql_pubkey.asc'
|
||||
default['yum']['mysql56-community']['failovermethod'] = 'priority'
|
||||
default['yum']['mysql56-community']['gpgcheck'] = true
|
||||
default['yum']['mysql56-community']['enabled'] = true
|
||||
```
|
||||
|
||||
``` 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/'
|
||||
default['yum']['mysql57-community-dmr']['gpgkey'] = 'https://raw.githubusercontent.com/rs-services/equinix-public/master/cookbooks/db_mysql/files/centos/mysql_pubkey.asc'
|
||||
default['yum']['mysql57-community-dmr']['failovermethod'] = 'priority'
|
||||
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
|
||||
|
||||
```ruby
|
||||
yum_repository 'mysql55-community' do
|
||||
mirrorlist 'http://repo.mysql.com/yum/mysql55-community/el/$releasever/$basearch/'
|
||||
description ''
|
||||
enabled true
|
||||
gpgcheck true
|
||||
end
|
||||
```
|
||||
|
||||
* mysql56 - Sets up the mysql56-community repository on supported
|
||||
platforms
|
||||
|
||||
```ruby
|
||||
yum_repository 'mysql56-community' do
|
||||
mirrorlist 'http://repo.mysql.com/yum/mysql56-community/el/$releasever/$basearch/'
|
||||
description ''
|
||||
enabled true
|
||||
gpgcheck true
|
||||
end
|
||||
```
|
||||
|
||||
|
||||
* connectors - Sets up the mysql-connectors-community repository on supported
|
||||
platforms
|
||||
|
||||
|
||||
Usage Example
|
||||
-------------
|
||||
To disable the epel repository through a Role or Environment definition
|
||||
|
||||
```
|
||||
default_attributes(
|
||||
:yum => {
|
||||
:mysql57-community-dmr => {
|
||||
:enabled => {
|
||||
false
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
```
|
||||
|
||||
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
|
||||
node.default['yum']['mysql57-community-dmr']['managed'] = true
|
||||
include_recipe 'mysql57-community-dmr'
|
||||
```
|
||||
|
||||
More Examples
|
||||
-------------
|
||||
Point the mysql56-community repositories at an internally hosted server.
|
||||
|
||||
```
|
||||
node.default['yum']['mysql56-community']['enabled'] = true
|
||||
node.default['yum']['mysql56-community']['mirrorlist'] = nil
|
||||
node.default['yum']['mysql56-community']['baseurl'] = 'https://internal.example.com/mysql/mysql56-community/'
|
||||
node.default['yum']['mysql56-community']['sslverify'] = false
|
||||
|
||||
include_recipe 'mysql56-community'
|
||||
```
|
||||
|
||||
License & Authors
|
||||
-----------------
|
||||
- Author:: Sean OMeara (<sean@chef.io>)
|
||||
|
||||
```text
|
||||
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.
|
||||
```
|
||||
@@ -0,0 +1,35 @@
|
||||
default['yum']['mysql-connectors-community']['repositoryid'] = 'mysql-connectors-community'
|
||||
default['yum']['mysql-connectors-community']['gpgkey'] = 'https://raw.githubusercontent.com/chef-cookbooks/yum-mysql-community/master/files/default/mysql_pubkey.asc'
|
||||
default['yum']['mysql-connectors-community']['description'] = 'MySQL Connectors Community'
|
||||
default['yum']['mysql-connectors-community']['failovermethod'] = 'priority'
|
||||
default['yum']['mysql-connectors-community']['gpgcheck'] = true
|
||||
default['yum']['mysql-connectors-community']['enabled'] = true
|
||||
|
||||
case node['platform_family']
|
||||
when 'rhel'
|
||||
case node['platform']
|
||||
when 'amazon'
|
||||
case node['platform_version'].to_i
|
||||
when 2013
|
||||
default['yum']['mysql-connectors-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-connectors-community/el/6/$basearch/'
|
||||
when 2014
|
||||
default['yum']['mysql-connectors-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-connectors-community/el/6/$basearch/'
|
||||
when 2015
|
||||
default['yum']['mysql-connectors-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-connectors-community/el/6/$basearch/'
|
||||
end
|
||||
when 'redhat'
|
||||
case node['platform_version'].to_i
|
||||
when 5
|
||||
# Real Redhat identifies $releasever as 5Server and 6Server
|
||||
default['yum']['mysql-connectors-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-connectors-community/el/5/$basearch/'
|
||||
when 6
|
||||
default['yum']['mysql-connectors-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-connectors-community/el/6/$basearch/'
|
||||
when 7
|
||||
default['yum']['mysql-connectors-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-connectors-community/el/7/$basearch/'
|
||||
end
|
||||
else # other rhel
|
||||
default['yum']['mysql-connectors-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-connectors-community/el/$releasever/$basearch/'
|
||||
end
|
||||
when 'fedora'
|
||||
default['yum']['mysql-connectors-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-connectors-community/fc/$releasever/$basearch/'
|
||||
end
|
||||
@@ -0,0 +1,33 @@
|
||||
default['yum']['mysql55-community']['repositoryid'] = 'mysql55-community'
|
||||
default['yum']['mysql55-community']['gpgkey'] = 'https://raw.githubusercontent.com/chef-cookbooks/yum-mysql-community/master/files/default/mysql_pubkey.asc'
|
||||
default['yum']['mysql55-community']['description'] = 'MySQL 5.5 Community Server'
|
||||
default['yum']['mysql55-community']['failovermethod'] = 'priority'
|
||||
default['yum']['mysql55-community']['gpgcheck'] = true
|
||||
default['yum']['mysql55-community']['enabled'] = true
|
||||
|
||||
case node['platform_family']
|
||||
when 'rhel'
|
||||
case node['platform']
|
||||
when 'amazon'
|
||||
case node['platform_version'].to_i
|
||||
when 2013
|
||||
default['yum']['mysql55-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.5-community/el/6/$basearch/'
|
||||
when 2014
|
||||
default['yum']['mysql55-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.5-community/el/6/$basearch/'
|
||||
when 2015
|
||||
default['yum']['mysql55-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.5-community/el/6/$basearch/'
|
||||
end
|
||||
when 'redhat'
|
||||
case node['platform_version'].to_i
|
||||
when 5
|
||||
# Real Redhat identifies $releasever as 5Server and 6Server
|
||||
default['yum']['mysql55-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.5-community/el/5/$basearch/'
|
||||
when 6
|
||||
default['yum']['mysql55-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.5-community/el/6/$basearch/'
|
||||
when 7
|
||||
default['yum']['mysql55-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.5-community/el/7/$basearch/'
|
||||
end
|
||||
else # other rhel. only 6 and 7 for now
|
||||
default['yum']['mysql55-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.5-community/el/$releasever/$basearch/'
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,35 @@
|
||||
default['yum']['mysql56-community']['repositoryid'] = 'mysql56-community'
|
||||
default['yum']['mysql56-community']['gpgkey'] = 'https://raw.githubusercontent.com/chef-cookbooks/yum-mysql-community/master/files/default/mysql_pubkey.asc'
|
||||
default['yum']['mysql56-community']['description'] = 'MySQL 5.6 Community Server'
|
||||
default['yum']['mysql56-community']['failovermethod'] = 'priority'
|
||||
default['yum']['mysql56-community']['gpgcheck'] = true
|
||||
default['yum']['mysql56-community']['enabled'] = true
|
||||
|
||||
case node['platform_family']
|
||||
when 'rhel'
|
||||
case node['platform']
|
||||
when 'amazon'
|
||||
case node['platform_version'].to_i
|
||||
when 2013
|
||||
default['yum']['mysql56-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.6-community/el/6/$basearch/'
|
||||
when 2014
|
||||
default['yum']['mysql56-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.6-community/el/6/$basearch/'
|
||||
when 2015
|
||||
default['yum']['mysql56-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.6-community/el/6/$basearch/'
|
||||
end
|
||||
when 'redhat'
|
||||
case node['platform_version'].to_i
|
||||
when 5
|
||||
# Real Redhat identifies $releasever as 5Server and 6Server
|
||||
default['yum']['mysql56-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.6-community/el/5/$basearch/'
|
||||
when 6
|
||||
default['yum']['mysql56-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.6-community/el/6/$basearch/'
|
||||
when 7
|
||||
default['yum']['mysql56-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.6-community/el/7/$basearch/'
|
||||
end
|
||||
else # other rhel
|
||||
default['yum']['mysql56-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.6-community/el/$releasever/$basearch/'
|
||||
end
|
||||
when 'fedora'
|
||||
default['yum']['mysql56-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.6-community/fc/$releasever/$basearch/'
|
||||
end
|
||||
@@ -0,0 +1,35 @@
|
||||
default['yum']['mysql57-community']['repositoryid'] = 'mysql57-community'
|
||||
default['yum']['mysql57-community']['gpgkey'] = 'https://raw.githubusercontent.com/chef-cookbooks/yum-mysql-community/master/files/default/mysql_pubkey.asc'
|
||||
default['yum']['mysql57-community']['description'] = 'MySQL 5.7 Community Server'
|
||||
default['yum']['mysql57-community']['failovermethod'] = 'priority'
|
||||
default['yum']['mysql57-community']['gpgcheck'] = true
|
||||
default['yum']['mysql57-community']['enabled'] = true
|
||||
|
||||
case node['platform_family']
|
||||
when 'rhel'
|
||||
case node['platform']
|
||||
when 'amazon'
|
||||
case node['platform_version'].to_i
|
||||
when 2013
|
||||
default['yum']['mysql57-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.7-community/el/6/$basearch/'
|
||||
when 2014
|
||||
default['yum']['mysql57-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.7-community/el/6/$basearch/'
|
||||
when 2015
|
||||
default['yum']['mysql57-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.7-community/el/6/$basearch/'
|
||||
end
|
||||
when 'redhat'
|
||||
case node['platform_version'].to_i
|
||||
when 5
|
||||
# Real Redhat identifies $releasever as 5Server and 6Server
|
||||
default['yum']['mysql57-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.7-community/el/5/$basearch/'
|
||||
when 6
|
||||
default['yum']['mysql57-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.7-community/el/6/$basearch/'
|
||||
when 7
|
||||
default['yum']['mysql57-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.7-community/el/7/$basearch/'
|
||||
end
|
||||
else # other rhel
|
||||
default['yum']['mysql57-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.7-community/el/$releasever/$basearch/'
|
||||
end
|
||||
when 'fedora'
|
||||
default['yum']['mysql57-community']['baseurl'] = 'http://repo.mysql.com/yum/mysql-5.7-community/fc/$releasever/$basearch/'
|
||||
end
|
||||
33
cookbooks/yum-mysql-community/files/default/mysql_pubkey.asc
Normal file
33
cookbooks/yum-mysql-community/files/default/mysql_pubkey.asc
Normal file
@@ -0,0 +1,33 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v1.4.5 (GNU/Linux)
|
||||
|
||||
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
|
||||
=Mski
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
30
cookbooks/yum-mysql-community/metadata.json
Normal file
30
cookbooks/yum-mysql-community/metadata.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"name": "yum-mysql-community",
|
||||
"version": "0.1.17",
|
||||
"description": "Installs/Configures yum-mysql-community",
|
||||
"long_description": "",
|
||||
"maintainer": "Chef Software, Inc",
|
||||
"maintainer_email": "Sean OMeara <sean@chef.io>",
|
||||
"license": "Apache 2.0",
|
||||
"platforms": {
|
||||
},
|
||||
"dependencies": {
|
||||
"yum": ">= 3.0"
|
||||
},
|
||||
"recommendations": {
|
||||
},
|
||||
"suggestions": {
|
||||
},
|
||||
"conflicting": {
|
||||
},
|
||||
"providing": {
|
||||
},
|
||||
"replacing": {
|
||||
},
|
||||
"attributes": {
|
||||
},
|
||||
"groupings": {
|
||||
},
|
||||
"recipes": {
|
||||
}
|
||||
}
|
||||
48
cookbooks/yum-mysql-community/recipes/connectors.rb
Normal file
48
cookbooks/yum-mysql-community/recipes/connectors.rb
Normal file
@@ -0,0 +1,48 @@
|
||||
#
|
||||
# Author:: Sean OMeara (<sean@chef.io>)
|
||||
# Recipe:: yum-mysql-community::connectors
|
||||
#
|
||||
# Copyright 2014, 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.
|
||||
|
||||
yum_repository 'mysql-connectors-community' do
|
||||
description node['yum']['mysql-connectors-community']['description']
|
||||
baseurl node['yum']['mysql-connectors-community']['baseurl']
|
||||
mirrorlist node['yum']['mysql-connectors-community']['mirrorlist']
|
||||
gpgcheck node['yum']['mysql-connectors-community']['gpgcheck']
|
||||
gpgkey node['yum']['mysql-connectors-community']['gpgkey']
|
||||
enabled node['yum']['mysql-connectors-community']['enabled']
|
||||
cost node['yum']['mysql-connectors-community']['cost']
|
||||
exclude node['yum']['mysql-connectors-community']['exclude']
|
||||
enablegroups node['yum']['mysql-connectors-community']['enablegroups']
|
||||
failovermethod node['yum']['mysql-connectors-community']['failovermethod']
|
||||
http_caching node['yum']['mysql-connectors-community']['http_caching']
|
||||
include_config node['yum']['mysql-connectors-community']['include_config']
|
||||
includepkgs node['yum']['mysql-connectors-community']['includepkgs']
|
||||
keepalive node['yum']['mysql-connectors-community']['keepalive']
|
||||
max_retries node['yum']['mysql-connectors-community']['max_retries']
|
||||
metadata_expire node['yum']['mysql-connectors-community']['metadata_expire']
|
||||
mirror_expire node['yum']['mysql-connectors-community']['mirror_expire']
|
||||
priority node['yum']['mysql-connectors-community']['priority']
|
||||
proxy node['yum']['mysql-connectors-community']['proxy']
|
||||
proxy_username node['yum']['mysql-connectors-community']['proxy_username']
|
||||
proxy_password node['yum']['mysql-connectors-community']['proxy_password']
|
||||
repositoryid node['yum']['mysql-connectors-community']['repositoryid']
|
||||
sslcacert node['yum']['mysql-connectors-community']['sslcacert']
|
||||
sslclientcert node['yum']['mysql-connectors-community']['sslclientcert']
|
||||
sslclientkey node['yum']['mysql-connectors-community']['sslclientkey']
|
||||
sslverify node['yum']['mysql-connectors-community']['sslverify']
|
||||
timeout node['yum']['mysql-connectors-community']['timeout']
|
||||
action :create
|
||||
end
|
||||
48
cookbooks/yum-mysql-community/recipes/mysql55.rb
Normal file
48
cookbooks/yum-mysql-community/recipes/mysql55.rb
Normal file
@@ -0,0 +1,48 @@
|
||||
#
|
||||
# Author:: Sean OMeara (<sean@chef.io>)
|
||||
# Recipe:: yum-mysql-community::mysql55
|
||||
#
|
||||
# Copyright 2014, 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.
|
||||
|
||||
yum_repository 'mysql55-community' do
|
||||
description node['yum']['mysql55-community']['description']
|
||||
baseurl node['yum']['mysql55-community']['baseurl']
|
||||
mirrorlist node['yum']['mysql55-community']['mirrorlist']
|
||||
gpgcheck node['yum']['mysql55-community']['gpgcheck']
|
||||
gpgkey node['yum']['mysql55-community']['gpgkey']
|
||||
enabled node['yum']['mysql55-community']['enabled']
|
||||
cost node['yum']['mysql55-community']['cost']
|
||||
exclude node['yum']['mysql55-community']['exclude']
|
||||
enablegroups node['yum']['mysql55-community']['enablegroups']
|
||||
failovermethod node['yum']['mysql55-community']['failovermethod']
|
||||
http_caching node['yum']['mysql55-community']['http_caching']
|
||||
include_config node['yum']['mysql55-community']['include_config']
|
||||
includepkgs node['yum']['mysql55-community']['includepkgs']
|
||||
keepalive node['yum']['mysql55-community']['keepalive']
|
||||
max_retries node['yum']['mysql55-community']['max_retries']
|
||||
metadata_expire node['yum']['mysql55-community']['metadata_expire']
|
||||
mirror_expire node['yum']['mysql55-community']['mirror_expire']
|
||||
priority node['yum']['mysql55-community']['priority']
|
||||
proxy node['yum']['mysql55-community']['proxy']
|
||||
proxy_username node['yum']['mysql55-community']['proxy_username']
|
||||
proxy_password node['yum']['mysql55-community']['proxy_password']
|
||||
repositoryid node['yum']['mysql55-community']['repositoryid']
|
||||
sslcacert node['yum']['mysql55-community']['sslcacert']
|
||||
sslclientcert node['yum']['mysql55-community']['sslclientcert']
|
||||
sslclientkey node['yum']['mysql55-community']['sslclientkey']
|
||||
sslverify node['yum']['mysql55-community']['sslverify']
|
||||
timeout node['yum']['mysql55-community']['timeout']
|
||||
action :create
|
||||
end
|
||||
48
cookbooks/yum-mysql-community/recipes/mysql56.rb
Normal file
48
cookbooks/yum-mysql-community/recipes/mysql56.rb
Normal file
@@ -0,0 +1,48 @@
|
||||
#
|
||||
# Author:: Sean OMeara (<sean@chef.io>)
|
||||
# Recipe:: yum-mysql-community::mysql56-community
|
||||
#
|
||||
# Copyright 2014, 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.
|
||||
|
||||
yum_repository 'mysql56-community' do
|
||||
description node['yum']['mysql56-community']['description']
|
||||
baseurl node['yum']['mysql56-community']['baseurl']
|
||||
mirrorlist node['yum']['mysql56-community']['mirrorlist']
|
||||
gpgcheck node['yum']['mysql56-community']['gpgcheck']
|
||||
gpgkey node['yum']['mysql56-community']['gpgkey']
|
||||
enabled node['yum']['mysql56-community']['enabled']
|
||||
cost node['yum']['mysql56-community']['cost']
|
||||
exclude node['yum']['mysql56-community']['exclude']
|
||||
enablegroups node['yum']['mysql56-community']['enablegroups']
|
||||
failovermethod node['yum']['mysql56-community']['failovermethod']
|
||||
http_caching node['yum']['mysql56-community']['http_caching']
|
||||
include_config node['yum']['mysql56-community']['include_config']
|
||||
includepkgs node['yum']['mysql56-community']['includepkgs']
|
||||
keepalive node['yum']['mysql56-community']['keepalive']
|
||||
max_retries node['yum']['mysql56-community']['max_retries']
|
||||
metadata_expire node['yum']['mysql56-community']['metadata_expire']
|
||||
mirror_expire node['yum']['mysql56-community']['mirror_expire']
|
||||
priority node['yum']['mysql56-community']['priority']
|
||||
proxy node['yum']['mysql56-community']['proxy']
|
||||
proxy_username node['yum']['mysql56-community']['proxy_username']
|
||||
proxy_password node['yum']['mysql56-community']['proxy_password']
|
||||
repositoryid node['yum']['mysql56-community']['repositoryid']
|
||||
sslcacert node['yum']['mysql56-community']['sslcacert']
|
||||
sslclientcert node['yum']['mysql56-community']['sslclientcert']
|
||||
sslclientkey node['yum']['mysql56-community']['sslclientkey']
|
||||
sslverify node['yum']['mysql56-community']['sslverify']
|
||||
timeout node['yum']['mysql56-community']['timeout']
|
||||
action :create
|
||||
end
|
||||
48
cookbooks/yum-mysql-community/recipes/mysql57.rb
Normal file
48
cookbooks/yum-mysql-community/recipes/mysql57.rb
Normal file
@@ -0,0 +1,48 @@
|
||||
#
|
||||
# Author:: Sean OMeara (<sean@chef.io>)
|
||||
# Recipe:: yum-mysql-community::mysql57-community
|
||||
#
|
||||
# Copyright 2014, 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.
|
||||
|
||||
yum_repository 'mysql57-community' do
|
||||
description node['yum']['mysql57-community']['description']
|
||||
baseurl node['yum']['mysql57-community']['baseurl']
|
||||
mirrorlist node['yum']['mysql57-community']['mirrorlist']
|
||||
gpgcheck node['yum']['mysql57-community']['gpgcheck']
|
||||
gpgkey node['yum']['mysql57-community']['gpgkey']
|
||||
enabled node['yum']['mysql57-community']['enabled']
|
||||
cost node['yum']['mysql57-community']['cost']
|
||||
exclude node['yum']['mysql57-community']['exclude']
|
||||
enablegroups node['yum']['mysql57-community']['enablegroups']
|
||||
failovermethod node['yum']['mysql57-community']['failovermethod']
|
||||
http_caching node['yum']['mysql57-community']['http_caching']
|
||||
include_config node['yum']['mysql57-community']['include_config']
|
||||
includepkgs node['yum']['mysql57-community']['includepkgs']
|
||||
keepalive node['yum']['mysql57-community']['keepalive']
|
||||
max_retries node['yum']['mysql57-community']['max_retries']
|
||||
metadata_expire node['yum']['mysql57-community']['metadata_expire']
|
||||
mirror_expire node['yum']['mysql57-community']['mirror_expire']
|
||||
priority node['yum']['mysql57-community']['priority']
|
||||
proxy node['yum']['mysql57-community']['proxy']
|
||||
proxy_username node['yum']['mysql57-community']['proxy_username']
|
||||
proxy_password node['yum']['mysql57-community']['proxy_password']
|
||||
repositoryid node['yum']['mysql57-community']['repositoryid']
|
||||
sslcacert node['yum']['mysql57-community']['sslcacert']
|
||||
sslclientcert node['yum']['mysql57-community']['sslclientcert']
|
||||
sslclientkey node['yum']['mysql57-community']['sslclientkey']
|
||||
sslverify node['yum']['mysql57-community']['sslverify']
|
||||
timeout node['yum']['mysql57-community']['timeout']
|
||||
action :create
|
||||
end
|
||||
Reference in New Issue
Block a user