File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
cookbooks/fb_helpers/libraries Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -479,6 +479,10 @@ def windows2022?
479479 windows_server? && self [ 'platform_version' ] == '10.0.20348'
480480 end
481481
482+ def windows2025?
483+ windows_server? && self [ 'platform_version' ] == '10.0.26100'
484+ end
485+
482486 # from https://en.wikipedia.org/wiki/Windows_10_version_history
483487 def windows1903?
484488 windows? && self [ 'platform_version' ] == '10.0.18362'
@@ -524,6 +528,10 @@ def windows2022_or_newer?
524528 windows_server? && self . _self_version >= self . _canonical_version ( '10.0.20348' )
525529 end
526530
531+ def windows2025_or_newer?
532+ windows_server? && self . _self_version >= self . _canonical_version ( '10.0.26100' )
533+ end
534+
527535 def windows2012_or_older?
528536 windows_server? && self . _self_version < self . _canonical_version ( '6.3' )
529537 end
@@ -544,6 +552,10 @@ def windows2022_or_older?
544552 windows_server? && self . _self_version <= self . _canonical_version ( '10.0.20348' )
545553 end
546554
555+ def windows2025_or_older?
556+ windows_server? && self . _self_version <= self . _canonical_version ( '10.0.26100' )
557+ end
558+
547559 def aristaeos?
548560 self [ 'platform' ] == 'arista_eos'
549561 end
You can’t perform that action at this time.
0 commit comments