Skip to content

Commit 7647f06

Browse files
yee-unitfacebook-github-bot
authored andcommitted
Add rhel_family10?
Differential Revision: D73557075 fbshipit-source-id: 44688cb48350c27792396a8fb4ab8fe73e813a7b
1 parent f77d617 commit 7647f06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cookbooks/fb_helpers/libraries/node_methods.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ def rhel_family9?
9595
self.rhel_family? && self['platform_version'].start_with?('9')
9696
end
9797

98+
def rhel_family10?
99+
self.rhel_family? && self['platform_version'].start_with?('10')
100+
end
101+
98102
def rhel?
99103
self.rhel_family?
100104
end

0 commit comments

Comments
 (0)