summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Better debug loggingbetter_loggingTim Smith2016-12-2119-102/+127
| | | | | | | | | Gracefully fail in virtual box Include plugin name in more logs Be consistent in the log output format Help figure out how Virtualization systems were detected with logging Signed-off-by: Tim Smith <tsmith@chef.io>
* Update RELEASE_NOTES.mdTim Smith2016-12-201-0/+14
|
* Merge pull request #921 from chef/cumulusTim Smith2016-12-203-61/+127
|\ | | | | Properly detect Cumulus Linux platform / version
| * Fix comment typoTim Smith2016-12-201-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Better error handling if we can't determine Cumulus versioncumulusTim Smith2016-12-192-8/+14
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Reorder detection of platforms to speed things upTim Smith2016-12-151-22/+22
| | | | | | | | | | | | Check the more popular platforms first since those are most likely to match. Parallels have to come before RHEL though since it looks like RHEL. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add Cumulus Linux detection to the release notesTim Smith2016-12-151-17/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Properly detect Cumulus Linux platform / versionTim Smith2016-12-152-22/+97
| | | | | | | | | | | | Detect cumulus Linux systems if they have /etc/cumulus directory. Use platform of ‘cumulus’ and platform_family debian since it’s Debian 8.5. Parse version from their config directory. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #925 from chef/VeertuThom May2016-12-204-0/+41
|\ \ | | | | | | Detect guests running on Veertu hypervisor
| * | Detect guests running on Veertu hypervisorVeertuTim Smith2016-12-154-0/+41
|/ / | | | | | | | | | | | | | | Hypervisor for OS that runs Linux and WIndows https://veertu.com/ Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #922 from rdean716/rdean-patch1Tim Smith2016-12-152-0/+61
|\ \ | |/ |/| Windows guest support on Hyper-v and Xen.
| * conditional to better identify hyper-v systmsBob Dean2016-12-152-14/+16
| | | | | | | | Signed-off-by: Bob Dean <radean@hotmail.com>
| * Windows guest support on Hyper-v and Xen.Bob Dean2016-12-142-0/+59
|/ | | | Signed-off-by: Bob Dean <radean@hotmail.com>
* Merge pull request #907 from Fodoj/masterTim Smith2016-12-123-1/+60
|\ | | | | Fetch AWS Account ID from metadata
| * Memoize dynamic AWS dataKirill Shirinkin2016-12-121-7/+9
| | | | | | | | Signed-off-by: Kirill Shirinkin <fodojyko@gmail.com>
| * Fetch AWS Account ID from metadataKirill Shirinkin2016-11-303-1/+58
| | | | | | | | Signed-off-by: Kirill Shirinkin <fodojyko@gmail.com>
* | Merge pull request #920 from chef/tduffield/use-internal-changelogTim Smith2016-12-071-1/+1
|\ \ | | | | | | Use custom changelog generator
| * | Use custom changelog generatorTom Duffield2016-12-071-1/+1
|/ / | | | | | | | | | | | | | | This version of the changelog generator addresses a few issues with the upstream one. In addition, it has a less restrictive dependency on Retriable, which can cause conflict when Ohai is installed in ChefDK. Signed-off-by: Tom Duffield <tom@chef.io>
* | Merge pull request #893 from davide125/getconfThom May2016-12-022-0/+724
|\ \ | | | | | | Add sysconf plugin to expose system configuration variables
| * | Add sysconf plugin to expose system configuration variablesDavide Cavalca2016-11-302-0/+724
| | | | | | | | | | | | Signed-off-by: Davide Cavalca <dcavalca@fb.com>
* | | Merge pull request #916 from chef/erlangTim Smith2016-12-012-10/+8
|\ \ \ | |/ / |/| | Pull the complete version string of Erlang
| * | Pull the complete version string of ErlangerlangTim Smith2016-12-012-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | Improve the shellout with help of StackOverflow and srenatus. This requires less fragile work in Ruby by formatting the data in erlang properly. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Merge pull request #910 from chef/8.22.0v8.22.0Tim Smith2016-11-304-4/+40
|\ \ \ | | | | | | | | Release 8.22.0
| * | | Release 8.22.0Tim Smith2016-11-304-4/+40
|/ / / | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Merge pull request #909 from chef/bahamas10-dave-1426559693Tim Smith2016-11-302-47/+54
|\ \ \ | | | | | | | | Rework / fix logic in the joyent plugin and improve specs
| * | | Rework the specsbahamas10-dave-1426559693Tim Smith2016-11-291-33/+45
| | | | | | | | | | | | | | | | | | | | | | | | These specs weren’t covering the actual meat of the plugin. They mocked out the methods, when the methods are where the majority of logic exists. Instead of mocking those methods mock out the files on disk. This also serves to document the structure of the files we’re parsing in the plugin so that’s another win. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Use a regex vs. a split that didn’t seem to workTim Smith2016-11-291-3/+1
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Return an empty array to avoid failures later with .eachTim Smith2016-11-291-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Set the attribute to nil vs. reading the file twiceTim Smith2016-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Nil is used throughout Ohai Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Merge branch 'dave-1426559693' of git://github.com/bahamas10/ohai into ↵Tim Smith2016-11-291-11/+8
| |\ \ \ | | | | | | | | | | | | | | | bahamas10-dave-1426559693
| | * | | cleanup joyent.rbDave Eddy2015-05-051-13/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - condense code - touch up style - don't stat(2) before open(2)
* | | | | Merge pull request #908 from numericillustration/masterThom May2016-11-301-1/+5
|\ \ \ \ \ | |_|_|/ / |/| | | | fix for #891 to detect the global zone of a Solaris system as a Virt …
| * | | | chefstyle fixesMichael Hicks2016-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Michael Hicks <michael.hicks@joyent.com>
| * | | | fix for #891 to detect the global zone of a Solaris system as a Virt host ↵Michael Hicks2016-11-291-1/+5
| | |_|/ | |/| | | | | | | | | | | | | | | | | | even when not currently hosting any guests Signed-off-by: Michael Hicks <michael.hicks@joyent.com>
* | | | Merge pull request #912 from chef/appveyerTim Smith2016-11-291-1/+1
|\ \ \ \ | | | | | | | | | | Test on 2012 R2 in appveyer
| * | | | Test on 2012 R2 in appveyerappveyerTim Smith2016-11-291-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | This matches Chef Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Merge pull request #913 from chef/changeloggenTim Smith2016-11-291-0/+2
|\ \ \ \ | | | | | | | | | | Match github changelog config with chef/chef
| * | | | Match github changelog config with chef/chefchangeloggenTim Smith2016-11-291-0/+2
| |/ / / | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Merge pull request #911 from chef/ghTim Smith2016-11-291-0/+15
|\ \ \ \ | | | | | | | | | | Add a github pull request template
| * | | | Add a github pull request templateghTim Smith2016-11-291-0/+15
| |/ / / | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Merge pull request #914 from chef/haskell_fixTim Smith2016-11-292-3/+25
|\ \ \ \ | |/ / / |/| | | Handle the non-git built haskell stack version shellout format
| * | | Handle the non-git built haskell stack version shellout formathaskell_fixTim Smith2016-11-292-3/+25
|/ / / | | | | | | | | | | | | | | | | | | splitting fields is fragile. Use a regex instead and add a spec for both formats. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Merge pull request #902 from cdituri/feature-haskell-pluginThom May2016-11-292-0/+304
|\ \ \ | | | | | | | | Added haskell language plugin for ohai
| * | | Added haskell language plugin for ohaiChris Dituri2016-11-112-0/+304
| | | | | | | | | | | | | | | | | | | | | | | | Detects whether ghc, ghci, cabal, or stack are installed Signed-off-by: Chris Dituri <csdituri@gmail.com>
* | | | Merge pull request #822 from chef/OHAI-794/set-attributeThom May2016-11-292-9/+71
|\ \ \ \ | |_|/ / |/| | | Extend set_attribute to set sub-attributes.
| * | | Extend set_attribute to set sub-attributes.OHAI-794/set-attributemcquin2016-06-092-9/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use: - set_attribute(:attr, value) assigns attribute 'attr' value. - set_attribute(:attr, :subattr, value) assigns attribute 'attr/subattr' value. Extends to subattributes of arbitrary depth. Raises a TypeError if some :subattr is not an Array, Hash, or Mash (e.g., a String value).
* | | | Merge pull request #890 from n-marton/masterBryan McLellan2016-11-222-4/+41
|\ \ \ \ | |_|/ / |/| | | ip_scopes update
| * | | tunnel has to be written with two n-sMarton Natko2016-11-221-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Marton Natko <marton.natko@gmail.com>
| * | | even more typosMarton Natko2016-10-261-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Marton Natko <marton.natko@gmail.com>
| * | | plus the filesMarton Natko2016-10-252-4/+41
| | | | | | | | | | | | | | | | Signed-off-by: Marton Natko <marton.natko@gmail.com>