summaryrefslogtreecommitdiff
path: root/lib/ohai/mixin/azure_metadata.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ohai/mixin/azure_metadata.rb')
-rw-r--r--lib/ohai/mixin/azure_metadata.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/ohai/mixin/azure_metadata.rb b/lib/ohai/mixin/azure_metadata.rb
index 7bf17ec9..7212bda2 100644
--- a/lib/ohai/mixin/azure_metadata.rb
+++ b/lib/ohai/mixin/azure_metadata.rb
@@ -35,9 +35,10 @@ module Ohai
AZURE_METADATA_ADDR ||= "169.254.169.254"
# it's important that the newer versions are at the end of this array so we can skip sorting it
- AZURE_SUPPORTED_VERSIONS ||= %w{ 2017-04-02 2017-08-01 2017-12-01 2018-02-01 2018-04-02
- 2018-10-01 2019-02-01 2019-03-11 2019-04-30 2019-06-01
- 2019-06-04 2019-08-01 2019-08-15 2019-11-01 }.freeze
+ AZURE_SUPPORTED_VERSIONS ||= %w{ 2018-10-01 2019-02-01 2019-03-11 2019-04-30 2019-06-01
+ 2019-06-04 2019-08-01 2019-08-15 2019-11-01 2020-06-01
+ 2020-07-15 2020-09-01 2020-10-01 2020-12-01 2021-01-01
+ 2021-02-01 2021-03-01 2021-05-01 2021-10-01 }.freeze
def best_api_version
@api_version ||= begin