From 916de38d6ac2306ef92f1fb2837b3e39af695de7 Mon Sep 17 00:00:00 2001 From: Olivier Raginel Date: Fri, 26 Jan 2024 18:34:50 -0800 Subject: [PATCH] Apply the linter to remove all the foodcritic exemption for the ones migrated to cookstyle: rest of itchef Summary: Apply the second diff of the stack onto the rest of `itchef` codebase Differential Revision: D53077186 fbshipit-source-id: 3f6c3dc338d65dd622b163a46330a47bc7293575 --- cookbooks/ci_fixes/attributes/default.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cookbooks/ci_fixes/attributes/default.rb b/cookbooks/ci_fixes/attributes/default.rb index 22a2b886f..64b043605 100644 --- a/cookbooks/ci_fixes/attributes/default.rb +++ b/cookbooks/ci_fixes/attributes/default.rb @@ -28,9 +28,9 @@ 'Plugin Virtualization Monkeypatch: /proc/self/cgroup indicates ' + "#{$1} container. Detecting as #{$1} guest", ) - node.automatic['virtualization']['system'] = $1 # ~FC047 - node.automatic['virtualization']['role'] = 'guest' # ~FC047 - node.automatic['virtualization']['systems'][$1.to_s] = 'guest' # ~FC047 + node.automatic['virtualization']['system'] = $1 # rubocop:disable Chef/Meta/UseNodeDefault + node.automatic['virtualization']['role'] = 'guest' # rubocop:disable Chef/Meta/UseNodeDefault + node.automatic['virtualization']['systems'][$1.to_s] = 'guest' # rubocop:disable Chef/Meta/UseNodeDefault end end else