cookbook 'yum_utils', '~> 0.2.0'
yum_utils (1) Versions 0.2.0 Follow0
YUM Utilities
cookbook 'yum_utils', '~> 0.2.0', :supermarket
knife supermarket install yum_utils
knife supermarket download yum_utils
yum_utils Cookbook
This cookbook includes YUM utilities setup recipes.
Contents
Requirements
cookbooks
-
platform_utils
>= 0.4.0 -
yum
>= 3.0 yum-epel
packages
none.
Attributes
yum_utils::default
Key | Type | Description (with examples) | Default |
---|---|---|---|
['yum_utils']['repos']['CentOS-Base']['mirrorlist_ctx'] |
String | e.g. 'http://mirrorlist.centos.org'
|
'' (inactive) |
['yum_utils']['repos']['CentOS-Base']['baseurl_ctx'] |
String | e.g. 'http://ftp.grid.example.com/centos'
|
'' (inactive) |
['yum_utils']['repos']['CentOS-Base']['gpgkey'] |
String | GPG key path | 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6' |
['yum_utils']['repos']['epel']['mirrorlist_ctx'] |
String | e.g. 'http://mirrors.fedoraproject.org'
|
'' (inactive) |
['yum_utils']['repos']['epel']['baseurl_ctx'] |
String | e.g. 'http://ftp.grid.example.com/fedora/epel'
|
'' (inactive) |
['yum_utils']['repos']['epel']['gpgkey'] |
String | GPG key path | 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6' |
['yum_utils']['mirror']['user'] |
String | mirroring user | 'yum-mirror' |
['yum_utils']['mirror']['cron_period'] |
String | cron period expression |
'#0 2 * * *' (inactive) |
['yum_utils']['mirror']['base_path'] |
String | base directory path | '/var/spool/yum-mirror' |
['yum_utils']['mirror']['rsync_sources'] |
Array | see attributes/default.rb file. |
[] (empty) |
['yum_utils']['reposync_mirror']['user'] |
String | mirroring user | 'yum-mirror' |
['yum_utils']['reposync_mirror']['cron_period'] |
String | cron period expression |
'#0 3 * * *' (inactive) |
['yum_utils']['reposync_mirror']['base_path'] |
String | base directory path | '/var/spool/yum-reposync-mirror' |
['yum_utils']['reposync_mirror']['yum_conf'] |
String | YUM configuration file path | Debian: '/etc/yum/yum.conf' , RHEL: '/etc/yum.conf'
|
['yum_utils']['reposync_mirror']['repos_dir'] |
String | repository configuration directory path | Debian: '/etc/yum/repos.d' , RHEL: '/etc/yum.repos.d'
|
['yum_utils']['reposync_mirror']['repo_ids'] |
Array | mirroring repository ids |
[] (empty) |
['yum_utils']['reposync_mirror']['arch'] |
String | system architecture | '' |
['yum_utils']['reposync_mirror']['url_alias_with_authority_part'] |
Boolean | use url alias with authority part | true |
Usage
Recipes
yum_utils::default
This recipe does nothing.
yum_utils::mirror
This recipe sets up mirroring configurations by the rsync.
yum_utils::repos
This recipe sets up repository access configurations.
yum_utils::reposync_mirror
This recipe sets up mirroring configurations by the reposync.
yum_utils::yum-epel
This recipe sets up EPEL yum repository.
License and Authors
- Author:: whitestar at osdn.jp
Copyright 2013-2017, whitestar 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
platform_utils >= 0.4.0 |
yum >= 3.0 |
yum-epel >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
yum_utils CHANGELOG
0.2.0
- adds the
yum_utils::yum-epel
recipe.
0.1.0
- Initial release of yum_utils
Collaborator Number Metric
0.2.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.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
Foodcritic Metric
0.2.0 failed this metric
FC066: Ensure chef_version is set in metadata: yum_utils/metadata.rb:1
FC069: Ensure standardized license defined in metadata: yum_utils/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.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
Version Tag Metric
0.2.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
0.2.0 failed this metric
0.2.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
Foodcritic Metric
0.2.0 failed this metric
FC066: Ensure chef_version is set in metadata: yum_utils/metadata.rb:1
FC069: Ensure standardized license defined in metadata: yum_utils/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.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
Version Tag Metric
0.2.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
0.2.0 failed this metric
FC069: Ensure standardized license defined in metadata: yum_utils/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.2.0 passed this metric
Testing File Metric
0.2.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
Version Tag Metric
0.2.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
0.2.0 failed this metric
0.2.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