# # Copyright:: Copyright (c) 2016 Chef Software Inc. # 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. # # Explicit omnibus overrides. OMNIBUS_OVERRIDES = { # Lower level library pins libedit: "20130712-3.1", ## according to comment in omnibus-sw, latest versions don't work on solaris # https://github.com/chef/omnibus-software/blob/aefb7e79d29ca746c3f843673ef5e317fa3cba54/config/software/libtool.rb#L23 libtool: "2.4.2", libxslt: "1.1.28", makedepend: "1.0.5", ruby: "2.1.8", :"util-macros" => "1.19.0", xproto: "7.0.28", zlib: "1.2.8", # libffi: "3.2.1", # libiconv: "1.14", # liblzma: "5.2.2", # libxml2: "2.9.3", # ncurses: "5.9", # :"pkg-config-lite" => "0.28-1", # libyaml: "0.1.6", ## These can float as they are frequently updated in a way that works for us #override cacerts: "???", #override openssl: "???", } # # rake dependencies:update_omnibus_overrides (tasks/dependencies.rb) reads this # and modifies omnibus_overrides.rb # # The left side is the software definition name, and the right side is the # name of the rubygem (gem list -re gets us the latest version). # OMNIBUS_RUBYGEMS_AT_LATEST_VERSION = { rubygems: "rubygems-update", bundler: "bundler" } # # rake dependencies:check (tasks/dependencies.rb) uses this as a list of gems # that are allowed to be outdated according to `bundle updated` # # Once you decide that the list of outdated gems is OK, you can just # add gems to the output of bundle outdated here and we'll parse it to get the # list of outdated gems. # # We're starting with debt here, but don't want it to get worse. # ACCEPTABLE_OUTDATED_GEMS = %w{ celluloid celluloid-io docker-api fog-cloudatcost fog-google gherkin google-api-client jwt mime-types mini_portile2 retriable rubocop slop timers unicode-display_width varia_model } # # Some gems are part of our bundle (must be installed) but not important # enough to lock. We allow `bundle install` in test-kitchen, berks, etc. # to use their own versions of these. # # This mainly tells you which gems `chef verify` allows you to install and # run. # GEMS_ALLOWED_TO_FLOAT = [ "rubocop", # different projects disagree in their dev dependencies "unicode-display_width", # dep of rubocop "powerpack", # dep of rubocop ] # # The list of groups we install without: this drives both the `bundle install` # we do in chef-dk, and the `bundle check` we do to ensure installed gems don't # have extra deps hiding in their Gemfiles. # INSTALL_WITHOUT_GROUPS = %w{ development test guard maintenance tools integration changelog }