diff options
author | John McCrae <john.mccrae@progress.com> | 2022-04-20 08:30:58 -0700 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-04-20 08:31:03 -0700 |
commit | 8a60e98189ffce002ec6e864da4487d85667cbb9 (patch) | |
tree | 1b9a947abdffc1c69cf6a539de7a4cbfd4137073 | |
parent | ecac9bc41e7aff16786af373029d685ac7f558d4 (diff) | |
download | ohai-8a60e98189ffce002ec6e864da4487d85667cbb9.tar.gz |
Testing Ruby 3.1 support
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r-- | lib/ohai/mixin/azure_metadata.rb | 7 |
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 |