Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

no more yum_repo

  • Loading branch information...
commit ca58f4126b42a9a4250e02690072da331a95c8c1 1 parent 9ce3034
Hoang Xuan Phu authored
Showing with 2 additions and 33 deletions.
  1. +2 −24 ffmpeg/recipes/default.rb
  2. +0 −9 yum/recipes/atrpms.rb
View
26 ffmpeg/recipes/default.rb
@@ -14,43 +14,21 @@
chef_cache = Chef::Config[:file_cache_path]
-yum_repo "atrpms" do
- action :enable
-end
-
-yum_repo "atrpms-testing" do
- action :enable
-end
-
node[:ffmpeg][:dependencies][:atrpms].each do |pkg|
package pkg do
action :install
+ options '--enablerepo=atrpms'
end
end
-yum_repo "atrpms" do
- action :disable
-end
-
-yum_repo "atrpms-testing" do
- action :disable
-end
-
-
-yum_repo "epel" do
- action :enable
-end
node[:ffmpeg][:dependencies][:epel].each do |pkg|
package pkg do
action :install
+ options '--enablerepo=epel'
end
end
-yum_repo "epel" do
- action :disable
-end
-
pkg_file = value_for_platform(
%w{redhat centos} => {
View
9 yum/recipes/atrpms.rb
@@ -61,12 +61,3 @@
mode "0644"
source "atrpms-testing.repo"
end
-
-
-yum_repo :atrpms do
- action :disable
-end
-
-yum_repo "atrpms-testing" do
- action :disable
-end
Please sign in to comment.
Something went wrong with that request. Please try again.