Skip to content

Commit

Permalink
Use dnf modularity only when needed
Browse files Browse the repository at this point in the history
Differential Revision: D52218129

fbshipit-source-id: 7207ae4f9c8c2afd8ba27544b52dbae78fe83dc4
  • Loading branch information
Antony Thomas authored and facebook-github-bot committed Dec 15, 2023
1 parent 34d76b5 commit 350728c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cookbooks/fb_dnf/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
notifies :run, 'whyrun_safe_ruby_block[clean chef yum metadata]', :immediately
end

fb_dnf_modularity 'manage modularity'
fb_dnf_modularity 'manage modularity' do
not_if { node['fb_dnf']['modules'].empty? }
end

include_recipe 'fb_dnf::packages'

0 comments on commit 350728c

Please sign in to comment.