diff options
author | Tim Smith <tsmith@chef.io> | 2017-04-26 09:48:23 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-04-26 09:48:23 -0700 |
commit | 4a21fbe23b1442769255827dc19a2cecc73c098e (patch) | |
tree | f7c10143a9a8ad705ff071b30bce84a15532de58 | |
parent | d531bcc83c390ecbe323b6cf3d26ea01ed60495e (diff) | |
download | ohai-4a21fbe23b1442769255827dc19a2cecc73c098e.tar.gz |
Add support for the 2016 EC2 metadata releasesnew_ec2_metadata
This adds the following data:
network/interfaces/macs/mac/ipv6s
network/interfaces/macs/mac/subnet-ipv6-cidr-blocks
network/interfaces/macs/mac/vpc-ipv4-cidr-blocks
network/interfaces/macs/mac/vpc-ipv6-cidr-blocks
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/ohai/mixin/ec2_metadata.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ohai/mixin/ec2_metadata.rb b/lib/ohai/mixin/ec2_metadata.rb index 7962aaab..be268434 100644 --- a/lib/ohai/mixin/ec2_metadata.rb +++ b/lib/ohai/mixin/ec2_metadata.rb @@ -2,7 +2,7 @@ # Author:: Tim Dysinger (<tim@dysinger.net>) # Author:: Benjamin Black (<bb@chef.io>) # Author:: Christopher Brown (<cb@chef.io>) -# Copyright:: Copyright (c) 2009-2016 Chef Software, Inc. +# Copyright:: 2009-2017 Chef Software, Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -42,7 +42,7 @@ module Ohai EC2_METADATA_ADDR = "169.254.169.254" unless defined?(EC2_METADATA_ADDR) EC2_SUPPORTED_VERSIONS = %w{ 1.0 2007-01-19 2007-03-01 2007-08-29 2007-10-10 2007-12-15 2008-02-01 2008-09-01 2009-04-04 2011-01-01 2011-05-01 2012-01-12 - 2014-11-05 2014-02-25 } + 2014-11-05 2014-02-25 2016-04-19 2016-06-30 2016-09-02} EC2_ARRAY_VALUES = %w{security-groups} EC2_ARRAY_DIR = %w{network/interfaces/macs} |