summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update changelog, bump versionsalam/release-891Salim Alam2016-02-022-1/+6
|
* Merge pull request #717 from chef/jdm/disable-packages-by-defaultJay Mundrawala2016-02-022-212/+248
|\ | | | | Don't enable packages plugin by default
| * Add tests for "disabled" packages pluginJay Mundrawala2016-02-021-176/+202
| |
| * Don't enable packages plugin by defaultJay Mundrawala2016-02-022-39/+49
| | | | | | | | | | | | | | | | | | | | | | This is a hack. We can make this into a proper DSL thing where specifying something like `default_enabled false`. For now, this could be enabled through ```ruby ohai[:plugins][:packages][:enabled] = true ```
* | Merge pull request #711 from tas50/ec2_detectionTim Smith2016-02-022-2/+36
|\ \ | |/ |/| Improve EC2 detection when hint isn't present
| * Clarify where this detection will work in the commentsTim Smith2016-02-021-0/+2
| |
| * If dmi data is present use the presence of amazon strings to detect EC2Tim Smith2016-02-012-1/+33
| | | | | | | | This gives us amazon detect on VPC AWS Linux hosts.
| * Handle user data not existing at all in metadataTim Smith2016-02-011-1/+1
|/ | | | | | | | | | | | | | | | | | | | Right now if there's no user data we're getting a no method exception: [2016-02-01T20:27:33+00:00] DEBUG: Plugin EC2 threw #<NoMethodError: undefined method `encoding' for nil:NilClass> [2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/plugins/ec2.rb:79:in `block (2 levels) in <main>' [2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval' [2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin' [2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/dsl/plugin.rb:98:in `run' [2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/dsl/plugin.rb:169:in `safe_run' [2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/runner.rb:84:in `run_v7_plugin' [2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/runner.rb:43:in `run_plugin' [2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/system.rb:98:in `block in run_plugins' [2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/system.rb:97:in `each' [2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/system.rb:97:in `run_plugins' [2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/system.rb:75:in `all_plugins' [2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/application.rb:90:in `run_application' [2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/lib/ohai/application.rb:78:in `run' [2016-02-01T20:27:33+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.9.0/bin/ohai:42:in `<top (required)>'
* Merge pull request #710 from chef/salam/ohai-890v8.9.0Salim Alam2016-01-282-2/+2
|\ | | | | Prep for release 8.9.0
| * Prep for release 8.9.0Salim Alam2016-01-282-2/+2
|/
* Update changelog with current merges changesTim Smith2016-01-231-0/+14
|
* Merge pull request #652 from jmhbrown/add_queue_depthThom May2016-01-192-1/+76
|\ | | | | Add tests and queue_depth to block_device
| * Add tests and queue_depth to block_deviceJenny Brown2016-01-192-1/+76
| |
* | Merge pull request #700 from whiteley/default_route_table_hintThom May2016-01-192-5/+13
|\ \ | | | | | | Allow route table override
| * | Allow route table overrideMatt Whiteley2016-01-142-5/+13
| | | | | | | | | | | | | | | * read default route table name from ohai plugin configuration * default to `main` table to maintain current behavior
* | | Merge pull request #702 from jujugrrr/rackspace_instance_idThom May2016-01-192-0/+20
|\ \ \ | | | | | | | | Add instance_id to rackspace plugin
| * | | Add instance_id to rackspace pluginJulien Berard2016-01-112-0/+20
| | | |
* | | | Merge pull request #688 from electrolinux/alpine_familyThom May2016-01-192-0/+24
|\ \ \ \ | | | | | | | | | | Adding a new "alpine" platform and platform_family
| * | | | strip newline after platform_versiondidier Belot2015-12-181-1/+1
| | | | |
| * | | | Adding a new "alpine" platform and platform_familydidier Belot2015-12-172-0/+24
| | | | |
* | | | | Merge pull request #697 from sh9189/packages_pluginThom May2016-01-197-0/+1961
|\ \ \ \ \ | |_|_|/ / |/| | | | Packages plugin
| * | | | Add tests for sysv packages on solarisShahul Khajamohideen2015-12-282-25/+25
| | | | |
| * | | | Implement packages plugin for AIX, SolarisShahul Khajamohideen2015-12-285-7/+261
| | | | |
| * | | | Add tests for packages plugin on windowsShahul Hameed2015-12-283-71/+93
| | | | |
| * | | | make sure to only test wmi-lite on windowscmluciano2015-12-281-1/+1
| | | | |
| * | | | Add packages plugincmluciano2015-12-285-0/+1685
| |/ / / | | | | | | | | | | | | | | | | | | | | This packages plugin allows individuals to get a list of packages that they have installed on the system. It works on Debian,Fedora, and Windows systems.
* | | | Merge pull request #704 from chef/tm/fix_lintLamont Granquist2016-01-134-7/+8
|\ \ \ \ | | | | | | | | | | Fix some lint cops:
| * | | | Fix some lint cops:tm/fix_lintThom May2016-01-124-7/+8
| | |/ / | |/| | | | | | | | | | | | | | 1 Lint/EndAlignment 3 Lint/BlockAlignment
* | | | Merge pull request #705 from tas50/copyrightThom May2016-01-13186-467/+466
|\ \ \ \ | | | | | | | | | | Update e-mails and copyrights
| * | | | Update e-mails and copyrightsTim Smith2016-01-13186-467/+466
|/ / / / | | | | | | | | | | | | | | | | | | | | Opscode -> Chef Sofware Inc. and bring all copyrights to current. End the needed to keep editing these on every commit. Lets just get it over with.
* | | | Merge pull request #703 from chef/tm/chefstyleThom May2016-01-125-1/+14
|\ \ \ \ | |/ / / |/| | | Enable ChefStyle per RFC 64
| * | | Enable ChefStyle per RFC 64tm/chefstyleThom May2016-01-125-1/+14
|/ / /
* | | Merge pull request #695 from btm/btm/ipv6_macTim Smith2016-01-085-144/+291
|\ \ \ | | | | | | | | Fix detection of mac address on IPv6 only systems
| * | | fix remaining testsBryan McLellan2016-01-022-10/+11
| | | |
| * | | tests in progress WIPBryan McLellan2016-01-022-20/+39
| | | |
| * | | We cannot get ipv6address without src from linux/network at this timeBryan McLellan2016-01-022-15/+20
| | | |
| * | | fix some tests, ishBryan McLellan2015-12-282-1/+12
| | | |
| * | | Refactor linux/network and allow ipv6 default routes to be recognizedBryan McLellan2015-12-281-55/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were previously ignoring ipv6 routes because we expected all routes to have a 'src' attribute. However, ipv6 uses an algorthim (RFC6724) to select the source address rather than having it fixed in the route. This change applies a different selection criteria for ipv6 routes, allowing ipv6 only linux hosts with the 'ip' binary to make better choices about setting ip6address and macaddress.
| * | | Do not set macaddress if it is already setBryan McLellan2015-12-281-14/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we almost always set macaddress to the value from the interface we took ipaddress from, unless we didn't get any ipaddress, at which point we would accept the macaddress from the interface we took ip6address from. We're seeing ipv6 only hosts now, we need to be able to take macaddress from an ip6address interface if that's the most logical choice so we can ignore loopback or random/meaningless virtual interfaces that don't go anywhere.
| * | | Fix tests for ipv6-only macaddress use case, add more debug logsBryan McLellan2015-12-222-4/+24
| | | |
| * | | Update comments and revert testTim Smith2015-12-213-20/+19
| | | |
| * | | Properly detect mac address on ipv6 systemsTim Smith2015-12-184-33/+39
| | | |
| * | | Improve specs to detect IPV6 MAC address failureTim Smith2015-12-173-26/+89
| |/ /
* | | Merge pull request #699 from MarkGibbons/kernel_processorTim Smith2016-01-062-1/+4
|\ \ \ | |/ / |/| | Create kernel[:processor] from uname -p output
| * | Create kernel[:processor] from uname -p outputmarkgibbons2015-12-282-1/+4
|/ / | | | | | | | | | | | | An important distiction on solaris servers is x86 vs. sparc processor architecture. Using uname -m to report the machine type does make that distinction explicitly. The uname -p value is explicit about the difference.
* | Update CHANGELOG.mdTim Smith2015-12-151-2/+1
| |
* | Update CHANGELOG.mdTim Smith2015-12-151-0/+1
| |
* | Merge pull request #684 from tas50/cucumberThom May2015-12-153-201/+0
|\ \ | | | | | | Remove old cucumber tests
| * | Remove old cucumber testsTim Smith2015-12-143-201/+0
|/ / | | | | | | These haven't been updated in 7 years and don't actually run
* | Zero out release notes post releaseTim Smith2015-12-141-3/+0
| |