summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-11-18 16:49:40 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2019-11-18 16:49:40 -0800
commit4ed421c24d99642fd2e2ae1ea9ea81b8f71a9dfe (patch)
treea32cd8f5f345d7f27eb98b16c5ba98874568b8ea /lib
parentdee1de9611aef8a8366bff0da2ace2dc7a4646b5 (diff)
downloadchef-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.rb7
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"