summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielsdeleo <dan@getchef.com>2015-05-19 08:12:30 -0700
committerdanielsdeleo <dan@getchef.com>2015-05-19 08:12:30 -0700
commit96c79bd5895d04d8abe19bc42e7bec33ef7cfb9e (patch)
tree076ce6fbbb10fe869043283fdc9e977381431fc3
parent20bbe94cf218ae1210db4869200cb0814ccdd837 (diff)
downloadchef-96c79bd5895d04d8abe19bc42e7bec33ef7cfb9e.tar.gz
Add install_components task for forward compat w/ 12
-rw-r--r--Rakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index b55ed8321b..52f976927b 100644
--- a/Rakefile
+++ b/Rakefile
@@ -35,6 +35,13 @@ task :install => :package do
sh %{gem install pkg/#{GEM_NAME}-#{Chef::VERSION}.gem --no-rdoc --no-ri}
end
+# In Chef 12.4, some parts of Chef Client are moved to subprojects in the same
+# git repo. Omnibus calls `rake install_components` to build these. This rake
+# task makes 11-stable forward compatible.
+task :install_components do
+ true
+end
+
task :uninstall do
sh %{gem uninstall #{GEM_NAME} -x -v #{Chef::VERSION} }
end