summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 13.8.013_8Tim Smith2018-03-013-8/+13
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #1151 from chef/fix_softlayerTim Smith2018-03-011-1/+1
|\ | | | | Backport Fix for Softlayer disabling TLS 1.0/1.1 on 3/1/2018
| * Softlayer is forcing tlsv1_2 for all API calls. tlsv1 calls will stop ↵S.Cavallo2018-03-011-1/+1
|/ | | | | | working on 3/1/2018 Signed-off-by: S. Cavallo <smcavallo@hotmail.com>
* 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>
* Merge pull request #1088 from pasiukevich/support_linux_mem_availableAdam Leff2017-11-132-0/+8
|\ | | | | Add support for Linux MemAvailable value
| * Add support for Linux MemAvailableDzmitry Pasiukevich2017-11-122-0/+8
|/ | | | Signed-off-by: Dzmitry Pasiukevich <dpasiukevich@gmail.com>
* Merge pull request #1084 from jaymzh/mdadmTim Smith2017-11-082-1/+15
|\ | | | | [mdadm] Support arrays more than 10 disks
| * [mdadm] Support arrays more than 10 disksPhil Dibowitz2017-11-082-1/+15
|/ | | | Signed-off-by: Phil Dibowitz <phil@ipom.com>
* Merge pull request #1083 from chef/ec2_hypervisorTim Smith2017-11-084-22/+72
|\ | | | | Detect new Amazon hypervisor used by the C5 instances
| * Remove the gem updates entirely from travis/appveyorTim Smith2017-11-082-2/+0
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Disable updating rubygems for nowec2_hypervisorTim Smith2017-11-072-2/+3
| | | | | | | | | | | | Rubygems 2.7.1 is non-functional Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update EC2 specsTim Smith2017-11-071-4/+34
| | | | | | | | | | | | Make sure we have line returns as well since that's burned us before in specs Signed-off-by: Tim Smith <tsmith@chef.io>
| * Detect new Amazon hypervisor used by the C5 instancesTim Smith2017-11-071-16/+37
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #1080 from chef/deprecation_notesTim Smith2017-11-071-0/+4
|\ \ | |/ | | Add a note about the updated OHAI-11/12 deprecations
| * Add a note about the updated OHAI-11/12 deprecationsdeprecation_notesTim Smith2017-10-261-0/+4
|/ | | | | | We're deprecating these in Ohai 14 not 15 as previously planned Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #1079 from chef/13.6v13.6.0Lamont Granquist2017-10-243-9/+31
|\ | | | | Release 13.6
| * Release 13.613.6Tim Smith2017-10-243-9/+31
|/ | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #1060 from chef/rackspace_windowsTim Smith2017-10-242-3/+29
|\ | | | | Detect Rackspace on Windows
| * Add a VERY basic windows specrackspace_windowsTim Smith2017-10-241-0/+12
| | | | | | | | | | | | | | All we have is the main rackspace attribute and since we're checking ruby versions in the method we can't really mock out the wmi stuff. Signed-off-by: Tim Smith <tsmith@chef.io>