Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: OC-9924
Commits on Dec 13, 2013
  1. @sersut

    Disable one test which requires changes to require_plugin() which wil…

    sersut authored
    …l be done as a separate PR in order to keep this PR small.
  2. @sersut
  3. @sersut

    This PR includes a few refactorings. Since they are intertwined they …

    sersut authored
    …are done in a single PR :(
    1-) VersionVI and VersionVII classes are moved to their own classes.
    2-) VersionVII class only gets the data instead of full System object.
    3-) A new integration testing infrastructure is started (similar to Chef integration tests).
    4-) Loader code is refactored.
    5-) New integration tests for Loader are added.
Commits on Dec 12, 2013
  1. @sersut
Commits on Dec 5, 2013
  1. @schisamo

    Merge pull request #236 from opscode/fix-windows-tests

    schisamo authored
    Clean up `jenkins_run_tests.bat`
  2. @schisamo

    Clean up `jenkins_run_tests.bat`

    schisamo authored
    This change ensures the bat file is in sync with what we have in 
  3. @danielsdeleo

    Merge branch 'plugin-provider-cleanup'

    danielsdeleo authored
    Extract a class to maintain the provided attributes to providing plugins mapping
Commits on Dec 4, 2013
  1. @danielsdeleo
  2. @danielsdeleo

    Rename variables/methods for ProvidesMap to provides_map

    danielsdeleo authored
    The name "attributes" to refer to the map of attributes<->plugins
    providing attributes was confusing because it was inaccurate and often
    used near a local variable named "attributes" containing a very
    different kind of data (such as an Array of strings referring to
    attributes another plugin depended on). Renaming to "provides_map"
    clears up the confusion.
  3. @danielsdeleo

    Remove access to ProvidesMap internal data structure

    danielsdeleo authored
    Only test code was accessing this, modified to use the public API of the
  4. @danielsdeleo

    Extract ProvidesMap and tests to their own files

    danielsdeleo authored
    Also eliminates redundant tests in other classes that primarily test
    ProvidesMap behavior. Higher-level tests have been left in place to
    verify the interaction of the components.
  5. @danielsdeleo

    Extract plugin<->provides mapping to custom class

    danielsdeleo authored
    Code to map a plugin to the attributes it provides or look up a plugin
    by provided attributes was located in different parts of the code base
    where it operated directly on the underlying data structure. Extracting
    to a class lets us access the information we want using domain specific
    terminology so things are easier to understand.
  6. @danielsdeleo
  7. @danielsdeleo
Commits on Nov 26, 2013
  1. @sax @btm

    OHAI-529 ensure virtual IPs are never chosen for privateaddress

    sax authored btm committed
    - Refactor privateaddress logic into smaller, more clear
      methods based on comments from @btm
    - Make rspec descriptions a little more readable
  2. @sax @btm

    OHAI-529 Remove ipaddr_extension from Gemfile

    sax authored btm committed
    Specs for the ip_scopes plugin can be run in two ways:
    * Run rspec in the context of `bundle exec`
    * Install ipaddr_extensions, then run rspec outside of
      `bundle exec`
  3. @sax @btm

    OHAI-529 sort interfaces in ip_scopes before assigning privateaddress

    sax authored btm committed
    Hash keys are ordered in Ruby > 1.9, so the plugin behaved differently
    between 1.8 and newer versions. In order to make the code (and tests)
    more deterministic, let's sort network interfaces before doing work.
  4. @sax @btm

    OHAI-529: ip_scopes prefers ethernet to ppp

    sax authored btm committed
    On hosts with virtual interfaces on RFC1918 networks, the ip_scopes
    plugin may set `node.privateaddress` to a virtual address. This can
    cause problems with automation that relies on the `privateaddress`
    This patch prefers non-ppp interfaces when setting `privateaddress`,
    though it will use ppp interfaces if they are the only ones.
Commits on Nov 25, 2013
  1. @btm

    Merge branch 'OHAI-358'

    btm authored
  2. @glensc @btm

    update test with current master

    glensc authored btm committed
    test passes:
    $ ruby -S rspec spec/unit/plugins/php_spec.rb
  3. @glensc @btm

    [OHAI-358] add test for php version parse

    glensc authored btm committed
  4. @glensc @btm

    [OHAI-509] fix build date parsing from php if php patched with suhosin:

    glensc authored btm committed
    $ php -v
    PHP 5.3.27 with Suhosin-Patch (cli) (built: Aug 30 2013 04:30:30)
    Copyright (c) 1997-2013 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
  5. @tibux @btm

    OHAI-525 : can now detect qemu/kvm according the cpu type

    tibux authored btm committed
  6. @btm

    Merge branch 'OHAI-527'

    btm authored
Commits on Nov 13, 2013
  1. added comment to help someone

    caryp authored
Commits on Nov 11, 2013
  1. @danielsdeleo
Commits on Nov 7, 2013
  1. @danielsdeleo
  2. @danielsdeleo
Commits on Nov 6, 2013
  1. @btm

    Merge pull request #221 from tas50/OHAI-522

    btm authored
    Correct help output to reference ohai not chef
Commits on Nov 4, 2013
  1. @btm

    Merge branch 'OHAI-495'

    btm authored
  2. @tas50 @btm

    Update Virtualbox guest test for the dmidecode detection

    tas50 authored btm committed
  3. @tas50 @btm

    Detect virtualbox guests via dmidecode so guest additions aren't

    tas50 authored btm committed
Commits on Oct 31, 2013
  1. @tas50
Commits on Oct 30, 2013
  1. @mcquin

    Merge pull request #217 from opscode/OC-10247

    mcquin authored
    Fail Ohai when > 1 collect_data blocks defined per platform
Commits on Oct 29, 2013
  1. @mcquin
Something went wrong with that request. Please try again.