Commit e3d8308057f3d18a810a163e1bfd4bef9e4bc562

Authored by Jacob Vosmaer
1 parent 6b696f1b

Pin down chef-gem's ohai dependency to 7.0.4

config/software/chef-gem.rb
1 1 #
2 2 # Copyright:: Copyright (c) 2012-2014 Chef Software, Inc.
  3 +# Copyright:: Copyright (c) 2014 GitLab B.V.
3 4 # License:: Apache License, Version 2.0
4 5 #
5 6 # Licensed under the Apache License, Version 2.0 (the "License");
... ... @@ -20,6 +21,7 @@ default_version "11.12.2"
20 21  
21 22 dependency "ruby"
22 23 dependency "rubygems"
  24 +dependency "ohai"
23 25  
24 26 build do
25 27 gem "install chef -n #{install_dir}/embedded/bin --no-rdoc --no-ri -v #{version}"
... ...
config/software/ohai.rb 0 → 100644
... ... @@ -0,0 +1,26 @@
  1 +#
  2 +# Copyright:: Copyright (c) 2014 GitLab B.V.
  3 +# License:: Apache License, Version 2.0
  4 +#
  5 +# Licensed under the Apache License, Version 2.0 (the "License");
  6 +# you may not use this file except in compliance with the License.
  7 +# You may obtain a copy of the License at
  8 +#
  9 +# http://www.apache.org/licenses/LICENSE-2.0
  10 +#
  11 +# Unless required by applicable law or agreed to in writing, software
  12 +# distributed under the License is distributed on an "AS IS" BASIS,
  13 +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14 +# See the License for the specific language governing permissions and
  15 +# limitations under the License.
  16 +#
  17 +
  18 +name "ohai"
  19 +default_version "7.0.4"
  20 +
  21 +dependency "ruby"
  22 +dependency "rubygems"
  23 +
  24 +build do
  25 + gem "install ohai -n #{install_dir}/embedded/bin --no-rdoc --no-ri -v #{version}"
  26 +end
... ...