From fcc1789ec088249f1d2fbce79c24fe5a2a91967d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=A1=D1=82?= =?UTF-8?q?=D0=BE=D0=BB=D1=8F=D1=80=D0=BE=D0=B2?= Date: Sun, 19 Apr 2015 16:07:00 +0300 Subject: [PATCH] force installation at compile time in chef >= 12 --- recipes/install.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes/install.rb b/recipes/install.rb index ee6fd49..b078f43 100644 --- a/recipes/install.rb +++ b/recipes/install.rb @@ -6,6 +6,9 @@ # chef_gem "chef-attribute-validator" do + # force installation at compile time in chef >= 12 + compile_time true if defined? compile_time + # attribute-validator's only dep is chef ~> 11.6 # Having the omnibus chef try to upgrade itself as a gem # is pretty much always a disaster; many native packages, may