Skip to content

Commit

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

fbshipit-source-id: b0fbdd4249197eea134c47be1f8e6cdca39070ab
  • Loading branch information
Olivier Raginel authored and facebook-github-bot committed Jan 18, 2024
1 parent 9a4450b commit 9e32199
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion itchef/cookbooks/cpe_chrome/resources/cpe_chrome_win.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
policy_settings = gen_reg_file_settings(
doomed_policies, reg_settings
)
template reg_file_path do # ~FB031
template reg_file_path do
source 'chrome_Settings.reg.erb'
variables(:policies => policy_settings)
rights :read, 'Everyone', :applies_to_children => true
Expand Down
3 changes: 2 additions & 1 deletion itchef/cookbooks/cpe_dconf/resources/cpe_dconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
'debian' => 'dconf-cli',
:default => 'dconf',
)
# rubocop:disable Chef/Meta/CPEPackageResource
package dconf_cli_pkg do
action :upgrade
end
Expand Down Expand Up @@ -96,7 +97,7 @@
end

# Generate locks file
template ::File.join(dconf_db_dir, 'locks', comp) do # ~FB031
template ::File.join(dconf_db_dir, 'locks', comp) do
source 'dconf-generic-locks.erb'
owner 'root'
group 'root'
Expand Down
2 changes: 1 addition & 1 deletion itchef/cookbooks/cpe_hosts/resources/cpe_hosts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
content lines.join
end
else
template HOSTS_FILE do # ~FB031
template HOSTS_FILE do
retries 2
ignore_failure true
source 'hosts.erb'
Expand Down
1 change: 0 additions & 1 deletion itchef/cookbooks/cpe_remote/resources/zip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@
action :nothing
end

# @lint-ignore FBCHEFFoodcritic
directory new_resource.extract_location do
not_if { node.windows? }
recursive true # rubocop:disable Chef/Meta/NoRecursiveDirs
Expand Down

0 comments on commit 9e32199

Please sign in to comment.