Do nothing on old Ubuntu versions

This commit is contained in:
Greg Karékinian 2019-04-08 11:22:54 +02:00
parent 7bf583b5a3
commit 44eee142a7
2 changed files with 3 additions and 0 deletions

View File

@ -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"

View File

@ -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'