Skip to content

Commit

Permalink
Merge pull request fnichol#4 from danryan/remove-yum-update
Browse files Browse the repository at this point in the history
don't run yum update
  • Loading branch information
erikh committed Feb 10, 2013
2 parents fb5ca91 + 56e4213 commit 1910696
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions lib/chef/knife/bootstrap/chef10/rhel.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ export chef_version="<%= Chef::VERSION %>"
set -e

setup() {
yum update -y

if grep -qi "Red Hat" /etc/redhat-release
then
platform="redhat"
Expand Down
4 changes: 1 addition & 3 deletions lib/chef/knife/bootstrap/chef11/rhel.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ export chef_version="<%= Chef::VERSION %>"

set -e

setup() {
yum update -y

setup() {
if grep -qi "Red Hat" /etc/redhat-release
then
platform="redhat"
Expand Down

0 comments on commit 1910696

Please sign in to comment.