From e3d8308057f3d18a810a163e1bfd4bef9e4bc562 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Fri, 18 Jul 2014 15:44:44 +0200 Subject: [PATCH] Pin down chef-gem's ohai dependency to 7.0.4 --- config/software/chef-gem.rb | 2 ++ config/software/ohai.rb | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 0 deletions(-) create mode 100644 config/software/ohai.rb diff --git a/config/software/chef-gem.rb b/config/software/chef-gem.rb index cd8ee64..6639356 100644 --- a/config/software/chef-gem.rb +++ b/config/software/chef-gem.rb @@ -1,5 +1,6 @@ # # Copyright:: Copyright (c) 2012-2014 Chef Software, Inc. +# Copyright:: Copyright (c) 2014 GitLab B.V. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,6 +21,7 @@ default_version "11.12.2" dependency "ruby" dependency "rubygems" +dependency "ohai" build do gem "install chef -n #{install_dir}/embedded/bin --no-rdoc --no-ri -v #{version}" diff --git a/config/software/ohai.rb b/config/software/ohai.rb new file mode 100644 index 0000000..48fc593 --- /dev/null +++ b/config/software/ohai.rb @@ -0,0 +1,26 @@ +# +# Copyright:: Copyright (c) 2014 GitLab B.V. +# License:: Apache License, Version 2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +name "ohai" +default_version "7.0.4" + +dependency "ruby" +dependency "rubygems" + +build do + gem "install ohai -n #{install_dir}/embedded/bin --no-rdoc --no-ri -v #{version}" +end -- libgit2 0.21.2