From 363bf82d45aca5a4acc28d0b661fe640bc960281 Mon Sep 17 00:00:00 2001 From: Olivier Raginel Date: Fri, 12 Jan 2024 22:37:49 -0800 Subject: [PATCH] Cleanup uses of FB031 (& 19,21,22,23,24,26) Differential Revision: D52530525 fbshipit-source-id: c80ff5b80c2c060cd9be91540fb482536b16cddb --- cookbooks/fb_systemd/resources/override.rb | 2 +- cookbooks/fb_yum_repos/resources/config.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbooks/fb_systemd/resources/override.rb b/cookbooks/fb_systemd/resources/override.rb index dee6f1cf..59997db2 100644 --- a/cookbooks/fb_systemd/resources/override.rb +++ b/cookbooks/fb_systemd/resources/override.rb @@ -63,7 +63,7 @@ def get_reload_resource mode '0755' end - template ::File.join(override_dir, override_file) do # rubocop:disable Chef/Meta/AvoidCookbookProperty # ~FB031 ~FB032 + template ::File.join(override_dir, override_file) do # rubocop:disable Chef/Meta/AvoidCookbookProperty # If source is specified, use it, otherwise use our template... if new_resource.source source new_resource.source diff --git a/cookbooks/fb_yum_repos/resources/config.rb b/cookbooks/fb_yum_repos/resources/config.rb index 4e26d67b..441383b1 100644 --- a/cookbooks/fb_yum_repos/resources/config.rb +++ b/cookbooks/fb_yum_repos/resources/config.rb @@ -23,7 +23,7 @@ default_action :create action :create do - template new_resource.path do # rubocop:disable Chef/Meta/AvoidCookbookProperty # ~FB031 ~FB032 + template new_resource.path do # rubocop:disable Chef/Meta/AvoidCookbookProperty cookbook 'fb_yum_repos' source 'yum.conf.erb' owner node.root_user