summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Simplify path logic by requiring chef-config 12.8+modern_chef_configTim Smith2018-01-292-7/+2
| | | | | | We can safely assume chef-config 12.8+ now. Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #1123 from chef/shain/fix_versionTim Smith2018-01-242-1/+2
|\ | | | | Add the missing version file and fix the version lib
| * Fix versionScott Hain2018-01-242-1/+2
|/ | | | Signed-off-by: Scott Hain <shain@chef.io>
* Executed `.expeditor/update_version.sh`Chef Expeditor2018-01-241-1/+1
|
* Merge pull request #1121 from chef/tm/expeditorThom May2018-01-242-0/+51
|\ | | | | build ohai gems automagically
| * build ohai gems automagicallytm/expeditorThom May2018-01-242-0/+51
|/ | | | Signed-off-by: Thom May <thom@chef.io>
* Merge pull request #1120 from chef/chef_configLamont Granquist2018-01-191-2/+2
|\ | | | | Bump the version to 14.0.0 for chef/chef
| * Bump the version to 14.0.0 for chef/chefchef_configTim Smith2018-01-191-2/+2
| | | | | | | | | | | | | | We will tag / ship as 14.0 later, but this allows us to pin to 14.0 in chef/chef and consume from master. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #1119 from chef/chef_configLamont Granquist2018-01-191-1/+1
|\ \ | |/ | | Allow for chef-config 14
| * Allow for chef-config 14Tim Smith2018-01-191-1/+1
|/ | | | | | This actually breaks us bumping chef to 14 right now. Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #1034 from chef/ipscopesTim Smith2018-01-182-206/+0
|\ | | | | Ohai 14: Remove the IPScopes plugin
| * Remove the IPScopes pluginipscopesTim Smith2017-07-142-206/+0
| | | | | | | | | | | | | | | | Per OHAI-13 this is being deprecated. https://docs.chef.io/deprecations_ohai_ipscopes.html Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #1116 from chef/ruby24_upThom May2018-01-112-2/+1
|\ \ | | | | | | Ohai 14: Require Ruby 2.4 or later
| * | Require Ruby 2.4 or laterruby24_upTim Smith2018-01-102-2/+1
| | | | | | | | | | | | | | | | | | Support the last 2 major releases. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Merge pull request #1032 from chef/remove_old_attributesTim Smith2018-01-106-29/+0
|\ \ \ | | | | | | | | Remove cloud_v2 and filesystem2 attributes
| * | | Remove cloud_v2 and filesystem2 attributesremove_old_attributesTim Smith2017-11-286-29/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We made cloud_v2 and filesystem2 the default cloud and filesystem plugins in Chef 13. For backwards compatibility we wrote the data out to both locations, which bloated the node object size significantly. We've deprecated the legacy attributes and this removes them. Chef servers everywhere will thank us. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Merge pull request #993 from chef/ipv4_arrayTim Smith2018-01-101-1/+1
|\ \ \ \ | | | | | | | | | | Treat local_ipv4 as an array
| * | | | Treat local_ipv4 as an arrayipv4_arrayTim Smith2017-11-281-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | Merge pull request #1115 from chef/13-stable_testingThom May2018-01-112-1/+2
|\ \ \ \ \ | |_|_|/ / |/| | | | Swap 8-stable testing for 13-stable testing
| * | | | Swap 8-stable testing for 13-stable testingTim Smith2018-01-102-1/+2
|/ / / / | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Merge pull request #1114 from chef/13.7.1v13.7.1Thom May2018-01-113-288/+324
|\ \ \ \ | | | | | | | | | | Release 13.7.1
| * | | | Release 13.7.1Tim Smith2018-01-103-288/+324
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | Merge pull request #1113 from dsalazar-carecloud/linux_plugin_virtualization_updTim Smith2018-01-102-1/+25
|\ \ \ \ \ | |/ / / / |/| | | | (chef/ohai#1110) Fix for issue introduced by docker for mac update.
| * | | | (chef/ohai#1110) Adds case to virtualization_spec.David Salazar2018-01-101-0/+24
| | | | |
| * | | | (chef/ohai#1110) Fix for issue introduced by docker for mac update.David Salazar2018-01-101-1/+1
|/ / / / | | | | | | | | | | | | | | | | This fix will loosen the regex matching pattern against the pattern that the docker for mac update introduced to /proc/self/cgroup.
* | | | Add a plugin to provide PCI bus information using `lspci`. (#1107)Phil Dibowitz2018-01-033-0/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is based on an original plugin from: https://github.com/GLOBAL2000/chef-ohai-plugins/ With modifications from the fork here: https://github.com/GLOBAL2000/chef-ohai-plugins/ Signed-off-by: Phil Dibowitz <phil@ipom.com>
* | | | Merge pull request #1109 from chef/travis_25Thom May2018-01-011-0/+1
|\ \ \ \ | | | | | | | | | | Test on Ruby 2.5
| * | | | Test on Ruby 2.5travis_25Tim Smith2017-12-271-0/+1
|/ / / / | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | document where to put distros in familiesLamont Granquist2017-12-211-0/+9
| | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | [linux/network] Tunnel information (#1104)Phil Dibowitz2017-12-192-1/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gathers extra information on tunnel devices. Unfortunately iproute2 is a little inconsistent as to how it prints these out, some are booleans some are key values, but there's no way to tell them apart other than to know, so I parse the ones I know about (from reading the source), and ignore anything else. Note that I didn't add any ifconfig support to the tests. This is for a few reasons: 1. the output in the tests from ifconfig is ancient, ifconfig on linux doesn't look like that anymore, it looks like this: ``` eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.1.1.2 netmask 255.255.255.0 broadcast 10.1.1.255 inet6 2601:645:c001:56bb::2 prefixlen 64 scopeid 0x0<global> inet6 fe80::52e5:49ff:fe38:d761 prefixlen 64 scopeid 0x20<link> ether 50:e5:49:38:d7:61 txqueuelen 1000 (Ethernet) RX packets 203501353 bytes 98738916585 (91.9 GiB) RX errors 0 dropped 559 overruns 0 frame 0 TX packets 1035989265 bytes 1458478887585 (1.3 TiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 ``` And I couldn't find a machine old enough to generate the type of output in the tests *and* have modern ip6tunnel drivers on it. So don't ask. :) 2. Only iproute2 shows the extra tunnel info anyway, so it's not really useful to do have the interface in the ifconfig output. Note I will backport this to Ohai 8 after this is merged. Signed-off-by: Phil Dibowitz <phil@ipom.com>
* | | | Merge pull request #1103 from chef/13.7v13.7.0Tim Smith2017-12-053-1/+23
|\ \ \ \ | | | | | | | | | | Release 13.7.0
| * | | | Release 13.7.013.7Tim Smith2017-12-043-1/+23
|/ / / / | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Merge pull request #1099 from chef/rubygems_requirTim Smith2017-12-041-18/+3
|\ \ \ \ | | | | | | | | | | Remove the rubygems require in the main app
| * | | | Remove the remaining rubygems checking coderubygems_requirTim Smith2017-12-041-12/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | Remove the rubygems require in the main appTim Smith2017-12-021-6/+0
| |/ / / | | | | | | | | | | | | | | | | | | | | This is a Ruby 1.8-ism Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Merge pull request #1100 from chef/missing_logThom May2017-12-041-0/+1
|\ \ \ \ | | | | | | | | | | Add missing debug log message for xlc missing on AIX
| * | | | Add missing debug log message for xlc missing on AIXmissing_logTim Smith2017-12-021-0/+1
| |/ / / | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Merge pull request #1096 from chef/redundantThom May2017-12-046-12/+12
|\ \ \ \ | | | | | | | | | | Remove extra ()s on methods
| * | | | Remove extra ()s on methodsredundantTim Smith2017-12-026-12/+12
| |/ / / | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Merge pull request #1101 from chef/simulationThom May2017-12-0419-906/+0
|\ \ \ \ | | | | | | | | | | Remove unused platform simulation specs
| * | | | Remove unused platform simulation specssimulationTim Smith2017-12-0319-906/+0
| |/ / / | | | | | | | | | | | | | | | | | | | | We never actually completed this work and started using these. It's just dead code in the repo. We do need integration testing on Ohai, but I'm not sure if this gets us much since we're doing the same sort of hack on shell out in our existing "unit" (yes in quotes) tests. What we could really use is a true integration test where we run ohai on various platforms and expect back certain output. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Merge pull request #1098 from chef/typosTim Smith2017-12-033-3/+3
|\ \ \ \ | |/ / / |/| | | Fix a few typos in log messages
| * | | Fix a few typos in log messagestyposTim Smith2017-12-023-3/+3
|/ / / | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Merge pull request #1081 from zfjagann/masterTim Smith2017-11-282-1/+19
|\ \ \ | | | | | | | | Added systemd-nspawn virtualization detection
| * | | Removed mock for File.exists? in nspawn specZeal Jagannatha2017-11-201-1/+0
| | | | | | | | | | | | | | | | Signed-off-by: Zeal Jagannatha <zealjagannatha@gmail.com>
| * | | Fixed chefstyle issueZeal Jagannatha2017-11-201-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Zeal Jagannatha <zealjagannatha@gmail.com>
| * | | Added systemd-nspawn virtualization detectionZeal Jagannatha2017-11-202-1/+20
| | | | | | | | | | | | | | | | Signed-off-by: Zeal Jagannatha <zealjagannatha@gmail.com>
* | | | [mdadm] Handle journal and spare devices properly (#1094)Phil Dibowitz2017-11-272-6/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Journal and spare devices are important to report clearly. This puts them in their own arrays. I'd like to backport this to 12.x - but it's unclear here what backwards compat here is. I *could* put *all* devices into `members` and then also specify special members in their own list... but prior to me fixing this plugin a few months, ago, spares and journal wouldn't have been reported anyway... and it is probably incorrect to report them as normal members... so this feels like a further fix on a previous fix, so I've opted for just fixing it. However, let me know how you guys feel. Signed-off-by: Phil Dibowitz <phil@ipom.com>
* | | | Merge pull request #1095 from chef/tm/screw_appveyorThom May2017-11-211-3/+0
|\ \ \ \ | |/ / / |/| | | Fix appveyor by no longer dancing around bundler
| * | | Fix appveyor by no longer dancing around bundlertm/screw_appveyorThom May2017-11-211-3/+0
|/ / / | | | | | | | | | | | | | | | also remove ruby 2.3 since we don't use it with 13 Signed-off-by: Thom May <thom@chef.io>