diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-11-18 16:49:40 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-11-18 16:49:40 -0800 |
commit | 4ed421c24d99642fd2e2ae1ea9ea81b8f71a9dfe (patch) | |
tree | a32cd8f5f345d7f27eb98b16c5ba98874568b8ea /lib | |
parent | dee1de9611aef8a8366bff0da2ace2dc7a4646b5 (diff) | |
download | chef-4ed421c24d99642fd2e2ae1ea9ea81b8f71a9dfe.tar.gz |
revert failure testing
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/resource/build_essential.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/chef/resource/build_essential.rb b/lib/chef/resource/build_essential.rb index 6cef29da8c..963481b5ee 100644 --- a/lib/chef/resource/build_essential.rb +++ b/lib/chef/resource/build_essential.rb @@ -56,12 +56,11 @@ class Chef case when debian? package %w{ autoconf binutils-doc bison build-essential flex gettext ncurses-dev } - when false # rubocop:disable Lint/LiteralAsCondition - # when fedora_derived? - package %w{ autoconf bison flex gcc gcc-c++ gettext kernel-devel make m4 ncurses-devel patch } + when fedora_derived? + package %w{ autoconf bison flex gcc gcc-c++ gettext kernel-devel make m4 ncurses-devel patch } # Ensure GCC 4 is available on older pre-6 EL - package %w{ gcc44 gcc44-c++ } if platform_family?("rhel") && node["platform_version"].to_i < 6 + package %w{ gcc44 gcc44-c++ } if platform_family?("rhel") && node["platform_version"].to_i < 6 when freebsd? package "devel/gmake" package "devel/autoconf" |