yum-percona

所属分类:电子书籍
开发工具:Ruby
文件大小:0KB
下载次数:0
上传日期:2023-12-21 09:10:04
上 传 者sh-1993
说明:  百胜percona食谱的开发存储库
(Development repository for the yum-percona cookbook)

文件列表:
.vscode/
attributes/
documentation/
recipes/
spec/
test/integration/default/
.editorconfig
.envrc
.markdownlint-cli2.yaml
.mdlrc
.overcommit.yml
.yamllint
Berksfile
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dangerfile
LICENSE
TESTING.md
chefignore
kitchen.dokken.yml
kitchen.exec.yml
kitchen.global.yml
kitchen.yml
metadata.rb
renovate.json

# yum-percona Cookbook [![Cookbook Version](https://img.shields.io/cookbook/v/yum-percona.svg)](https://supermarket.chef.io/cookbooks/yum-percona) [![CI State](https://github.com/sous-chefs/yum-percona/workflows/ci/badge.svg)](https://github.com/sous-chefs/yum-percona/actions?query=workflow%3Aci) [![OpenCollective](https://opencollective.com/sous-chefs/backers/badge.svg)](#backers) [![OpenCollective](https://opencollective.com/sous-chefs/sponsors/badge.svg)](#sponsors) [![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)](https://opensource.org/licenses/Apache-2.0) The yum-percona cookbook takes over management of the default repositoryids used with the official Percona repositories. It allows attribute manipulation of the `percona` yum channel. ## Maintainers This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs. ## Requirements ### Platforms - RHEL/CentOS and derivatives - Fedora ### Chef - Chef 12.14+ ### Cookbooks - none ## Attributes The following attributes are set by default ```ruby default['yum']['percona']['description'] = 'Percona MySQL and tools repository' default['yum']['percona']['baseurl'] = "http://repo.percona.com/centos/6/os/$basearch/" default['yum']['percona']['gpgkey'] = 'http://www.percona.com/downloads/RPM-GPG-KEY-percona' default['yum']['percona']['gpgcheck'] = true default['yum']['percona']['enabled'] = true ``` ## 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. ```ruby yum_repository 'percona' do baseurl 'http://repo.percona.com/centos/6/os/$basearch/' description 'Percona MySQL and tools repository' enabled true gpgcheck true gpgkey 'http://www.percona.com/downloads/RPM-GPG-KEY-percona' end ``` ## Usage Example To disable the Percona repository through a Role or Environment definition ```ruby default_attributes( :yum => { :percona => { :enabled => { false } } } ) ``` To enable the Percona repository with a wrapper cookbook, place the following in a recipe: ```ruby node.default['yum']['percona']['enabled'] = true include_recipe 'yum-percona' ``` ## More Examples Point the base and updates repositories at an internally hosted server. ```ruby node.default['yum']['percona']['enabled'] = true node.default['yum']['percona']['mirrorlist'] = nil node.default['yum']['percona']['baseurl'] = 'https://internal.example.com/centos/6/os/x86_64' node.default['yum']['percona']['sslverify'] = false include_recipe 'yum-percona' ``` ## Contributors This project exists thanks to all the people who [contribute.](https://opencollective.com/sous-chefs/contributors.svg?width=890&button=false) ### Backers Thank you to all our backers! ![https://opencollective.com/sous-chefs#backers](https://opencollective.com/sous-chefs/backers.svg?width=600&avatarHeight=40) ### Sponsors Support this project by becoming a sponsor. Your logo will show up here with a link to your website. ![https://opencollective.com/sous-chefs/sponsor/0/website](https://opencollective.com/sous-chefs/sponsor/0/avatar.svg?avatarHeight=100) ![https://opencollective.com/sous-chefs/sponsor/1/website](https://opencollective.com/sous-chefs/sponsor/1/avatar.svg?avatarHeight=100) ![https://opencollective.com/sous-chefs/sponsor/2/website](https://opencollective.com/sous-chefs/sponsor/2/avatar.svg?avatarHeight=100) ![https://opencollective.com/sous-chefs/sponsor/3/website](https://opencollective.com/sous-chefs/sponsor/3/avatar.svg?avatarHeight=100) ![https://opencollective.com/sous-chefs/sponsor/4/website](https://opencollective.com/sous-chefs/sponsor/4/avatar.svg?avatarHeight=100) ![https://opencollective.com/sous-chefs/sponsor/5/website](https://opencollective.com/sous-chefs/sponsor/5/avatar.svg?avatarHeight=100) ![https://opencollective.com/sous-chefs/sponsor/6/website](https://opencollective.com/sous-chefs/sponsor/6/avatar.svg?avatarHeight=100) ![https://opencollective.com/sous-chefs/sponsor/7/website](https://opencollective.com/sous-chefs/sponsor/7/avatar.svg?avatarHeight=100) ![https://opencollective.com/sous-chefs/sponsor/8/website](https://opencollective.com/sous-chefs/sponsor/8/avatar.svg?avatarHeight=100) ![https://opencollective.com/sous-chefs/sponsor/9/website](https://opencollective.com/sous-chefs/sponsor/9/avatar.svg?avatarHeight=100)

近期下载者

相关文件


收藏者