Skip to content

Commit 5b204e7

Browse files
Rados13facebook-github-bot
authored andcommitted
Fix fb_systemd should not using cpe_helpers method
Differential Revision: D70626448 fbshipit-source-id: 481c262dfcacd0fa8c9e00c3bd60bf0891c768ff
1 parent bd83d44 commit 5b204e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbooks/fb_systemd/recipes/default_packages.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
when 'rhel', 'fedora'
2525
systemd_packages << 'systemd-libs'
2626
# Starting with Fedora 41, systemd-sysv is no longer supported and does not exist in the repo
27-
if node.fedora? && node.os_at_least?('41')
27+
if node.fedora? && node['platform_version'].to_i >= 41
2828
systemd_packages.delete('systemd-sysv')
2929
end
3030
when 'debian'

0 commit comments

Comments
 (0)