summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Raise on V6 plugins instead of warningremove_v6_pluginsTim Smith2018-02-151-4/+4
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove another v6 plugin referenceTim Smith2018-02-151-8/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove support for Ohai V6 pluginsTim Smith2018-02-1513-729/+4
| | | | | | This doesn't refactor anything. Just removes the old support in the most brutal way possible. Cleanup to come. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 14.0.2 by Expeditorv14.0.2Chef Expeditor2018-02-123-5/+13
|
* Merge pull request #1132 from rmcleod8/patch-1Tim Smith2018-02-122-6/+10
|\ | | | | adds whitespace stripping for the shellout stdout
| * adds test where we saw whitespace conditionRichard Mcleod2018-02-121-5/+9
| | | | | | | | Signed-off-by: Richard Mcleod <rmcleod8@ip-1-70-103-68.dob1.bcpc.bloomberg.com>
| * adds whitespace stripping for the shellout stdoutRichard McLeod2018-02-121-1/+1
|/ | | | | turns out, ibm intentionally adds whitespace to the output here when the days number is 1-9. adding .strip cleans up the stdout so the case regex can properly evaluate the data.
* Merge pull request #1130 from chef/tduffield/expeditor/fix-configThom May2018-01-302-0/+16
|\ | | | | Fix Expeditor config as to publish gems and manage changelog
| * Fix Expeditor config as to publish gems and manage changelogtduffield/expeditor/fix-configTom Duffield2018-01-302-0/+16
|/ | | | Signed-off-by: Tom Duffield <tom@chef.io>
* Merge pull request #1129 from chef/chefstyle_fixTim Smith2018-01-291-6/+4
|\ | | | | Chefstyle fix for libvirt plugin
| * Chefstyle fix for libvirt pluginchefstyle_fixTim Smith2018-01-291-6/+4
|/ | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 14.0.1 by Expeditorv14.0.1Chef Expeditor2018-01-302-2/+2
|
* Merge pull request #931 from chef/libvirtTim Smith2018-01-292-83/+115
|\ | | | | Move the “Virtualization” plugin into libvirt namespace
| * Improve load failure warninglibvirtTim Smith2017-04-061-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update the case of the plugin nameTim Smith2017-04-061-6/+6
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Refactor the libvirt code a bitTim Smith2017-04-061-45/+79
| | | | | | | | | | | | Everyone likes methods Signed-off-by: Tim Smith <tsmith@chef.io>
| * Move the “Virtualization” plugin into libvirt namespaceTim Smith2017-04-062-83/+81
| | | | | | | | | | | | This plugin isn’t actually a virtualization plugin. It’s actually a libvirt plugin. Move the data out of the Virtualization mash and stick it into its own location. Also rename the plugin LibVirt. I need to get a system setup with libvirt to test this and probably tweak it further / add tests. 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>