diff options
author | Tim Smith <tsmith@chef.io> | 2017-04-27 07:02:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-27 07:02:27 -0700 |
commit | ce36fc796ee38f6ed0c2e0ce849420860c9dbef4 (patch) | |
tree | e79899b1ee841371cfc70b7a0418c755db7cde3a /lib/ohai/mixin | |
parent | 45409087be147ae0cd43d6f8531ea256020e5ad4 (diff) | |
parent | 4a21fbe23b1442769255827dc19a2cecc73c098e (diff) | |
download | ohai-ce36fc796ee38f6ed0c2e0ce849420860c9dbef4.tar.gz |
Merge pull request #992 from chef/new_ec2_metadata
Add support for the 2016 EC2 metadata releases
Diffstat (limited to 'lib/ohai/mixin')
-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} |