Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
mirror
yum
Commits
601f3287
Commit
601f3287
authored
Feb 18, 2015
by
Sean OMeara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opscode2chef
parent
a1061d63
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
38 additions
and
38 deletions
+38
-38
.gitignore
.gitignore
+1
-1
CHANGELOG.md
CHANGELOG.md
+4
-4
CONTRIBUTING.md
CONTRIBUTING.md
+17
-17
README.md
README.md
+5
-5
TESTING.md
TESTING.md
+1
-1
metadata.rb
metadata.rb
+1
-1
providers/globalconfig.rb
providers/globalconfig.rb
+1
-1
providers/repository.rb
providers/repository.rb
+1
-1
recipes/default.rb
recipes/default.rb
+3
-3
resources/globalconfig.rb
resources/globalconfig.rb
+1
-1
resources/repository.rb
resources/repository.rb
+1
-1
test/fixtures/cookbooks/yum_test/metadata.rb
test/fixtures/cookbooks/yum_test/metadata.rb
+1
-1
test/fixtures/cookbooks/yum_test/recipes/test_repository_nine.rb
...xtures/cookbooks/yum_test/recipes/test_repository_nine.rb
+1
-1
No files found.
.gitignore
View file @
601f3287
...
...
@@ -12,4 +12,4 @@ Gemfile.lock
.kitchen
bin
.kitchen.local.yml
.coverage
\ No newline at end of file
.coverage
CHANGELOG.md
View file @
601f3287
...
...
@@ -108,7 +108,7 @@ Updating default.rb to consume node['yum']['main']['proxy']
v3.0.4 (2013-12-29)
-------------------
### Bug
-
**[COOK-4156](https://tickets.
opscode.com
/browse/COOK-4156)**
- yum cookbook creates a yum.conf with "cachefir" directive
-
**[COOK-4156](https://tickets.
chef.io
/browse/COOK-4156)**
- yum cookbook creates a yum.conf with "cachefir" directive
v3.0.2
...
...
@@ -149,14 +149,14 @@ v2.4.0
v2.3.4
------
### Improvement
-
**[COOK-3689](https://tickets.
opscode.com
/browse/COOK-3689)**
- Fix warnings about resource cloning
-
**[COOK-3574](https://tickets.
opscode.com
/browse/COOK-3574)**
- Add missing "description" field in metadata
-
**[COOK-3689](https://tickets.
chef.io
/browse/COOK-3689)**
- Fix warnings about resource cloning
-
**[COOK-3574](https://tickets.
chef.io
/browse/COOK-3574)**
- Add missing "description" field in metadata
v2.3.2
------
### Bug
-
**[COOK-3145](https://tickets.
opscode.com
/browse/COOK-3145)**
- Use correct download URL for epel
`key_url`
-
**[COOK-3145](https://tickets.
chef.io
/browse/COOK-3145)**
- Use correct download URL for epel
`key_url`
v2.3.0
------
...
...
CONTRIBUTING.md
View file @
601f3287
...
...
@@ -3,13 +3,13 @@
We are glad you want to contribute to Chef Cookbooks! The first
step is the desire to improve the project. If you're new to the Chef
community, please read
[
How to become a contributor
](
https://supermarket.
get
chef.
com
/become-a-contributor
)
[
How to become a contributor
](
https://supermarket.chef.
io
/become-a-contributor
)
on the Supermarket website for more information.
## Quick-contribute
*
Create an account on the
[
Supermarket
](
http://supermarket.
get
chef.
com
)
*
Sign our contributor agreement (CLA)
[
online
](
https://supermarket.
get
chef.
com
/ccla-signatures/new
)
*
Create an account on the
[
Supermarket
](
http://supermarket.chef.
io
)
*
Sign our contributor agreement (CLA)
[
online
](
https://supermarket.chef.
io
/ccla-signatures/new
)
*
Visit the Github page for the project.
*
Fork the repository
*
Create a feature branch for your change.
...
...
@@ -43,16 +43,16 @@ It only takes a few minutes to complete a CLA, and you retain the
copyright to your contribution.
You can complete our contributor agreement (CLA)
[
online
](
https://supermarket.
get
chef.
com
/ccla-signatures/new
)
If
[
online
](
https://supermarket.chef.
io
/ccla-signatures/new
)
If
you're contributing on behalf of your employer, have your employer
fill out our
[
Corporate CLA
](
https://supermarket.
get
chef.
com
/ccla-signatures/new
)
[
Corporate CLA
](
https://supermarket.chef.
io
/ccla-signatures/new
)
instead.
## Using git
You can get a quick copy of the repository for this cookbook by
running
`git clone git://github.com/
opscode
-coobkooks/COOKBOOKNAME.git`
.
running
`git clone git://github.com/
chef
-coobkooks/COOKBOOKNAME.git`
.
For collaboration purposes, it is best if you create a Github account
and fork the repository to your own account. Once you do this you will
...
...
@@ -91,7 +91,7 @@ to them.
### More information
Additional help with git is available on the
[
Working with Git
](
http://wiki.
opscode.com
/display/chef/Working+with+Git
)
[
Working with Git
](
http://wiki.
chef.io
/display/chef/Working+with+Git
)
wiki page.
## Functional and Unit Tests
...
...
@@ -102,7 +102,7 @@ It uses Serverspec or Bats to perform integration tests after the node
has been converged.
Test kitchen should run completely without exception using the default
[
baseboxes provided by Chef
](
https://github.com/
opscode
/bento
)
.
[
baseboxes provided by Chef
](
https://github.com/
chef
/bento
)
.
Because Test Kitchen creates VirtualBox machines and runs through
every configuration in the Kitchenfile, it may take some time for
these tests to complete.
...
...
@@ -149,26 +149,26 @@ The versioning for Chef Cookbook projects is X.Y.Z.
Releases of Chef's cookbooks are usually announced on the Chef user
mailing list. Releases of several cookbooks may be batched together
and announced on the
[
Chef Blog
](
http://www.
get
chef.
com
/blog
)
.
and announced on the
[
Chef Blog
](
http://www.chef.
io
/blog
)
.
## Working with the community
These resources will help you learn more about Chef and connect to
other members of the Chef community:
*
[
chef
](
http://lists.
opscode.com
/sympa/info/chef
)
and
[
chef-dev
](
http://lists.
opscode.com
/sympa/info/chef-dev
)
mailing
*
[
chef
](
http://lists.
chef.io
/sympa/info/chef
)
and
[
chef-dev
](
http://lists.
chef.io
/sympa/info/chef-dev
)
mailing
lists
*
#chef and #chef-hacking IRC channels on irc.freenode.net
*
[
Community Cookbook site
](
http://community.
opscode.com
)
*
[
Chef wiki
](
http://wiki.
opscode.com
/display/chef
)
*
Chef, Inc
[
product page
](
http://www.
get
chef.
com
/chef
)
*
[
Community Cookbook site
](
http://community.
chef.io
)
*
[
Chef wiki
](
http://wiki.
chef.io
/display/chef
)
*
Chef, Inc
[
product page
](
http://www.chef.
io
/chef
)
## Cookbook Contribution Do's and Don't's
Please do include tests for your contribution. If you need help, ask
on the
[
chef-dev mailing list
](
http://lists.
opscode.com
/sympa/info/chef-dev
)
or the
[
#chef-hacking IRC channel
](
http://community.
opscode.com
/chat/chef-hacking
)
.
on the
[
chef-dev mailing list
](
http://lists.
chef.io
/sympa/info/chef-dev
)
or the
[
#chef-hacking IRC channel
](
http://community.
chef.io
/chat/chef-hacking
)
.
Not all platforms that a cookbook supports may be supported by Test
Kitchen. Please provide evidence of testing your contribution if it
isn't trivial so we don't have to duplicate effort in testing. Chef
...
...
@@ -192,5 +192,5 @@ cycle information above.
Please do not update the CHANGELOG.md for a new version. Not all
changes to a cookbook may be merged and released in the same versions.
Opscod
e will update the CHANGELOG.md when releasing a new version of
Chef Softwar
e will update the CHANGELOG.md when releasing a new version of
the cookbook.
README.md
View file @
601f3287
yum Cookbook
============
[

](https://supermarket.
get
chef.
com
/cookbooks/yum)
[

](https://travis-ci.org/
opscode
-cookbooks/yum)
[

](https://supermarket.chef.
io
/cookbooks/yum)
[

](https://travis-ci.org/
chef
-cookbooks/yum)
The Yum cookbook exposes the
`yum_globalconfig`
and
`yum_repository`
resources that allows a user to both control global behavior and make
...
...
@@ -256,9 +256,9 @@ yum_repository resource.
License & Authors
-----------------
-
Author:: Eric G. Wolfe
-
Author:: Matt Ray (
<matt@
get
chef.
com
>
)
-
Author:: Joshua Timberman (
<joshua@
get
chef.
com
>
)
-
Author:: Sean OMeara (
<someara@
get
chef.
com
>
)
-
Author:: Matt Ray (
<matt@chef.
io
>
)
-
Author:: Joshua Timberman (
<joshua@chef.
io
>
)
-
Author:: Sean OMeara (
<someara@chef.
io
>
)
```
text
Copyright:: 2011 Eric G. Wolfe
...
...
TESTING.md
View file @
601f3287
...
...
@@ -68,7 +68,7 @@ Integration Testing using Vagrant
---------------------------------
Integration tests can be performed on a local workstation using
Virtualbox or VMWare. Detailed instructions for setting this up can be
found at the
[
Bento
](
https://github.com/
opscode
/bento
)
project web site.
found at the
[
Bento
](
https://github.com/
chef
/bento
)
project web site.
Integration tests using Vagrant can be performed with either
```
...
...
metadata.rb
View file @
601f3287
name
'yum'
maintainer
'Chef'
maintainer_email
'cookbooks@
get
chef.
com
'
maintainer_email
'cookbooks@chef.
io
'
license
'Apache 2.0'
description
'Configures various yum components on Red Hat-like systems'
version
'3.5.3'
...
...
providers/globalconfig.rb
View file @
601f3287
...
...
@@ -2,7 +2,7 @@
# Cookbook Name:: yum
# Provider:: repository
#
# Author:: Sean OMeara <someara@
get
chef.
com
>
# Author:: Sean OMeara <someara@chef.
io
>
# Copyright 2013, Chef
#
# Licensed under the Apache License, Version 2.0 (the "License");
...
...
providers/repository.rb
View file @
601f3287
...
...
@@ -2,7 +2,7 @@
# Cookbook Name:: yum
# Provider:: repository
#
# Author:: Sean OMeara <someara@
get
chef.
com
>
# Author:: Sean OMeara <someara@chef.
io
>
# Copyright 2013, Chef
#
# Licensed under the Apache License, Version 2.0 (the "License");
...
...
recipes/default.rb
View file @
601f3287
#
# Author:: Sean OMeara (<someara@
get
chef.
com
>)
# Author:: Joshua Timberman (<joshua@
get
chef.
com
>)
# Author:: Sean OMeara (<someara@chef.
io
>)
# Author:: Joshua Timberman (<joshua@chef.
io
>)
# Recipe:: yum::default
#
# Copyright 2013-2014, Chef Software, Inc (<legal@
get
chef.
com
>)
# Copyright 2013-2014, Chef Software, Inc (<legal@chef.
io
>)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
...
...
resources/globalconfig.rb
View file @
601f3287
...
...
@@ -2,7 +2,7 @@
# Cookbook Name:: yum
# Resource:: repository
#
# Author:: Sean OMeara <someara@
get
chef.
com
>
# Author:: Sean OMeara <someara@chef.
io
>
# Copyright 2013, Chef
#
# Licensed under the Apache License, Version 2.0 (the "License");
...
...
resources/repository.rb
View file @
601f3287
...
...
@@ -2,7 +2,7 @@
# Cookbook Name:: yum
# Resource:: repository
#
# Author:: Sean OMeara <someara@
get
chef.
com
>
# Author:: Sean OMeara <someara@chef.
io
>
# Copyright 2013, Chef
#
# Licensed under the Apache License, Version 2.0 (the "License");
...
...
test/fixtures/cookbooks/yum_test/metadata.rb
View file @
601f3287
name
'yum_test'
maintainer
'Chef'
maintainer_email
'cookbooks@
get
chef.
com
'
maintainer_email
'cookbooks@chef.
io
'
license
'Apache 2.0'
description
'Configures various yum components on Red Hat-like systems'
long_description
IO
.
read
(
File
.
join
(
File
.
dirname
(
__FILE__
),
'README.md'
))
...
...
test/fixtures/cookbooks/yum_test/recipes/test_repository_nine.rb
View file @
601f3287
# https://github.com/
opscode
-cookbooks/yum/issues/92
# https://github.com/
chef
-cookbooks/yum/issues/92
yum_repository
'test9'
do
source
'custom_template.erb'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment