This replaces the deprecated redis cookbook. Compiles the latest version of Redis, currently 7.0.11 Refs #488
		
			
				
	
	
		
			19 lines
		
	
	
		
			463 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			463 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
packages_to_install = case node['platform_family']
 | 
						|
                      when 'debian'
 | 
						|
                        %w(
 | 
						|
                          tar
 | 
						|
                        )
 | 
						|
                      when 'rhel', 'fedora'
 | 
						|
                        %w(
 | 
						|
                          tar
 | 
						|
                        )
 | 
						|
                      else
 | 
						|
                        %w()
 | 
						|
                      end
 | 
						|
 | 
						|
packages_to_install.each do |pkg|
 | 
						|
  package pkg do
 | 
						|
    action :install
 | 
						|
  end
 | 
						|
end
 |