Skip to content

Commit

Permalink
Change to install official php-fpm package in RHEL 6.4 / CentOS 6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
poppen committed May 11, 2013
1 parent 3dfad9a commit 5c85dff
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,18 @@
end

when 'amazon', 'fedora', 'centos', 'redhat'
yum_key 'RPM-GPG-KEY-remi' do
url 'http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
end
unless platform?('centos', 'redhat') && node['platform_version'].to_f >= 6.4
yum_key 'RPM-GPG-KEY-remi' do
url 'http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
end

yum_repository 'remi' do
description 'Remi'
url 'http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
mirrorlist 'http://rpms.famillecollet.com/enterprise/$releasever/remi/mirror'
key 'RPM-GPG-KEY-remi'
action :add
yum_repository 'remi' do
description 'Remi'
url 'http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
mirrorlist 'http://rpms.famillecollet.com/enterprise/$releasever/remi/mirror'
key 'RPM-GPG-KEY-remi'
action :add
end
end
end

Expand Down

0 comments on commit 5c85dff

Please sign in to comment.