Do nothing on old Ubuntu versions
This commit is contained in:
		
							parent
							
								
									7bf583b5a3
								
							
						
					
					
						commit
						44eee142a7
					
				| @ -20,3 +20,4 @@ chef_version '>= 12.14' if respond_to?(:chef_version) | ||||
| # source_url 'https://github.com/<insert_org_here>/kosmos-postgresql' | ||||
| 
 | ||||
| depends "postgresql", ">= 7.0.0" | ||||
| depends "build-essential" | ||||
|  | ||||
| @ -4,6 +4,8 @@ | ||||
| # | ||||
| # Copyright:: 2019, Kosmos, All Rights Reserved. | ||||
| 
 | ||||
| return if platform?('ubuntu') && node[:platform_version].to_f < 18.04 | ||||
| 
 | ||||
| node.override['build-essential']['compile_time'] = true | ||||
| include_recipe 'build-essential::default' | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user