Skip to content

Commit

Permalink
Cleanup uses of FB031 (& 19,21,22,23,24,26)
Browse files Browse the repository at this point in the history
Differential Revision: D52530525

fbshipit-source-id: c80ff5b80c2c060cd9be91540fb482536b16cddb
  • Loading branch information
Olivier Raginel authored and facebook-github-bot committed Jan 13, 2024
1 parent bd500e3 commit 363bf82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cookbooks/fb_systemd/resources/override.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/fb_yum_repos/resources/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 363bf82

Please sign in to comment.