summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-04-08 12:11:03 -0700
committerTim Smith <tsmith84@gmail.com>2020-04-10 15:48:03 -0700
commit4c2ad6e5ad3e3b3f12370a708b900ead8a6c2c55 (patch)
tree967ac46ed33619a79b6fceebe480b50b80c6927d
parent17de73e7962ea73361f3e5ed01c83e69b9d23161 (diff)
downloadchef-4c2ad6e5ad3e3b3f12370a708b900ead8a6c2c55.tar.gz
This this one line
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--chef-utils/lib/chef-utils/dsl/architecture.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/chef-utils/lib/chef-utils/dsl/architecture.rb b/chef-utils/lib/chef-utils/dsl/architecture.rb
index 30e908d694..03f2756ab1 100644
--- a/chef-utils/lib/chef-utils/dsl/architecture.rb
+++ b/chef-utils/lib/chef-utils/dsl/architecture.rb
@@ -110,8 +110,7 @@ module ChefUtils
# @return [Boolean]
#
def arm?(node = __getnode)
- %w{armhf aarch64 arm64 arch64}
- .include?(node["kernel"]["machine"])
+ %w{armhf aarch64 arm64 arch64}.include?(node["kernel"]["machine"])
end
# Determine if the current architecture is 32-bit ARM.