Skip to content

Commit

Permalink
Add OEL 9 support to helpers, fbit_yum, fbit_repo
Browse files Browse the repository at this point in the history
Differential Revision: D52529389

fbshipit-source-id: 1c4f67fab80a30cf21519fe7ce98023ded30ca16
  • Loading branch information
yee-unit authored and facebook-github-bot committed Jan 5, 2024
1 parent 3beb82d commit 0b29627
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions itchef/cookbooks/fb_helpers/libraries/node_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ def oracle_max_version?(version)
self.oracle? && self.el_max_version?(version)
end

def oracle9?
self.oracle? && self['platform_version'].start_with?('9')
end

def oracle8?
self.oracle? && self['platform_version'].start_with?('8')
end
Expand Down

0 comments on commit 0b29627

Please sign in to comment.