summaryrefslogtreecommitdiff
path: root/omnibus/config/software/chef-gem-ruby-prof.rb
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2016-04-11 13:52:52 -0700
committerJohn Keiser <john@johnkeiser.com>2016-04-18 14:21:02 -0700
commit612932e984e4a210891e5d2d00d25723afd6b6a4 (patch)
treed2c8b9f1eb3b8002f61dd4dc82f4ad7564f43dae /omnibus/config/software/chef-gem-ruby-prof.rb
parent257500a90a17e9604c798f2b73afd0ada5d42903 (diff)
downloadchef-612932e984e4a210891e5d2d00d25723afd6b6a4.tar.gz
Use locked dependencies to build chef
Diffstat (limited to 'omnibus/config/software/chef-gem-ruby-prof.rb')
-rw-r--r--omnibus/config/software/chef-gem-ruby-prof.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/omnibus/config/software/chef-gem-ruby-prof.rb b/omnibus/config/software/chef-gem-ruby-prof.rb
new file mode 100644
index 0000000000..a9f8b758c9
--- /dev/null
+++ b/omnibus/config/software/chef-gem-ruby-prof.rb
@@ -0,0 +1,6 @@
+# gem installs this gem from the version specified in chef's Gemfile.lock
+# so we can take advantage of omnibus's caching. Just duplicate this file and
+# add the new software def to chef software def if you want to separate
+# another gem's installation.
+require_relative "../../files/chef-gem/build-chef-gem/gem-install-software-def"
+BuildChefGem::GemInstallSoftwareDef.define(self, __FILE__)