Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 15, 2013
  1. @btm

    Merge branch 'OHAI-434'

    btm authored
Commits on Apr 12, 2013
  1. @javmorin
  2. @javmorin
  3. @javmorin
  4. @javmorin
  5. @javmorin

    Whitespace

    javmorin authored
  6. @btm @javmorin

    OHAI-434: Add unit tests for Ec2Metadata#best_api_version

    btm authored javmorin committed
  7. @javmorin
  8. @javmorin
  9. @javmorin
Commits on Apr 10, 2013
  1. @javmorin
Commits on Feb 7, 2013
  1. @javmorin

    [#OHAI-434] Detect and use the latest (recognized-working) EC2 metada…

    javmorin authored
    …ta API
    
    Supported API's are determined at instance launch and are not extended
    over the life of the instance. As such the current code - which makes an
    assumption of a specific version - will fail depending on the age of the
    instance.
    
    This new code probes the instance metadata endpoint for available
    versions, determines the most advanced version known to work and
    executes the metadata retrieval using that version.
    
    If no compatible version is found, the plugin returns an empty hash.
  2. @javmorin
Commits on Jan 17, 2013
  1. @danielsdeleo
Commits on Dec 14, 2012
  1. @btm
  2. @btm
Commits on Dec 13, 2012
  1. @btm

    6.16.0.beta.2

    btm authored
Commits on Dec 12, 2012
  1. @zuazo
  2. @zuazo
  3. @btm

    6.16.0.beta.1 => RubyGems Rational Versioning

    btm authored
    rubygems/version.rb
  4. @btm

    6.16.0-beta.1

    btm authored
Commits on Dec 11, 2012
  1. @L2G @btm

    [OHAI-423] Add development dependency on rake gem

    L2G authored btm committed
Commits on Dec 7, 2012
  1. @btm
Commits on Dec 6, 2012
  1. @btm
  2. @btm

    Refactor unit test layout

    btm authored
    Set up spec tree like chef, to add room for other tests and make room
    for support files.
    
    Also include platform helpers from Chef to use as exclusions.
  3. @btm

    Merge branch 'OHAI-408'

    btm authored
  4. @btm

    More liberal SmartOS detection, to compensate for several changes in …

    Ben Rockwood authored btm committed
    …/etc/release format over the last year.
  5. @btm

    OHAI-395: Use sort_by instead of sort_by!

    btm authored
    Ruby 1.8 doesn't have Array#sort_by! so we need to use Enumerable#sort_by
  6. @btm

    Merge branch 'OHAI-395'

    btm authored
  7. @btm
  8. @btm

    Fixed spec for system_profiler

    Paul Mooring authored btm committed
  9. @btm

    commit broken tests

    Paul Mooring authored btm committed
  10. @btm

    Added serial_number to system_profile per OHAI-395. The current code is

    Paul Mooring authored btm committed
    a little ugly, it sets the attribute to an array and uses the 'mini'
    detailLevel.  I defined a hash to choose the detail level per dataType,
    iterate through an array for each detail level (this is to only shell
    out once per detail level rather than each dataType) and finally sort
    the array to make sure it's in the same order as before my changes
    compatibility.
    
    The result is this is compatible with the old structure and:
      node['system_profile'][10]["_items"][0]["serial_number"]
    will return the serial number.  Changing this to:
      node['system_profile'][SPHardwareDataType"]["serial_number"]
    would be preferable but break compatibility.
  11. @btm

    Merge branch 'OHAI-416'

    btm authored
  12. @btm
Something went wrong with that request. Please try again.