Skip to content

Commit

Permalink
Fix the install of the remi release package (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymzh authored Mar 27, 2023
1 parent 96ad383 commit aa27903
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion cookbooks/scale_phplist/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@
#

if node.centos8?
package 'remi-release-8' do
relpath = File.join(Chef::Config['file_cache_path'], 'remi-release-8.rpm')
remote_file relpath do
source 'https://rpms.remirepo.net/enterprise/remi-release-8.rpm'
owner 'root'
group 'root'
mode '0644'
action :create
end

package 'remi-release-8' do
source relpath
action :install
end

Expand Down

0 comments on commit aa27903

Please sign in to comment.