From 5ea6f1960f0f62805e90f534e9886129f285b0a4 Mon Sep 17 00:00:00 2001 From: Travis Graham Date: Tue, 18 Jun 2024 15:43:31 -0700 Subject: [PATCH] Changes to support macOS 15 Differential Revision: D58749691 fbshipit-source-id: 99a37e1cb13dad77d5cd14e85da4368765f06415 --- itchef/cookbooks/fb_helpers/libraries/node_methods.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/itchef/cookbooks/fb_helpers/libraries/node_methods.rb b/itchef/cookbooks/fb_helpers/libraries/node_methods.rb index b7ef7dc9..411f9fdc 100644 --- a/itchef/cookbooks/fb_helpers/libraries/node_methods.rb +++ b/itchef/cookbooks/fb_helpers/libraries/node_methods.rb @@ -387,6 +387,10 @@ def macos14? macos? && node['platform_version'].start_with?('14.') end + def macos15? + macos? && node['platform_version'].start_with?('15.') + end + def mac_mini_2014? macos? && node['hardware']['machine_model'] == 'Macmini7,1' end