diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-04-08 12:11:03 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-04-10 15:48:03 -0700 |
commit | 4c2ad6e5ad3e3b3f12370a708b900ead8a6c2c55 (patch) | |
tree | 967ac46ed33619a79b6fceebe480b50b80c6927d /chef-utils | |
parent | 17de73e7962ea73361f3e5ed01c83e69b9d23161 (diff) | |
download | chef-4c2ad6e5ad3e3b3f12370a708b900ead8a6c2c55.tar.gz |
This this one line
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'chef-utils')
-rw-r--r-- | chef-utils/lib/chef-utils/dsl/architecture.rb | 3 |
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. |