Skip to content

Commit

Permalink
Remove yum update from default recipe
Browse files Browse the repository at this point in the history
* The yum update command updates the packages, not any kind of cache.
* This is almost certainly not what a user wants by default as package
upgrades should be carefully considered.
  • Loading branch information
jtimberman committed Jun 22, 2011
1 parent 4425032 commit a1aded1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 8 additions & 0 deletions yum/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ Configures various YUM components on Red Hat-like systems. Includes LWRP for ma

Based on the work done by Eric Wolfe and Charles Duffy on the yumrepo cookbook. http://github.com/atomic-penguin/cookbooks/tree/yumrepo/yumrepo

Changes
=======

## v.0.1.2:

* Remove yum update in default recipe, that doesn't update caches, it
updates packages installed.

Requirements
============
RHEL, CentOS or Scientific Linux 5.x or newer. It has not been tested on other platforms or earlier versions. RHEL 6 support is untested (testing and patches are welcome).
Expand Down
2 changes: 1 addition & 1 deletion yum/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.1.1"
version "0.1.2"
recipe "yum", "Runs 'yum update' during compile phase"
recipe "yum::yum", "manages yum configuration"

Expand Down
2 changes: 0 additions & 2 deletions yum/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,3 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

execute "yum update -y"

0 comments on commit a1aded1

Please sign in to comment.