summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add a github pull request templateghTim Smith2016-11-291-0/+15
| | | | 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>
| * | Merge branch 'master' of github.com:n-marton/ohaiMarton Natko2016-10-250-0/+0
| |\ \ | | | | | | | | | | | | Signed-off-by: Marton Natko <marton.natko@gmail.com>
| * \ \ added docker and tunl type interfaces to ip_scopesTim Smith2016-10-251-0/+5
| |\ \ \ | | | | | | | | | | | | | | | Signed-off-by: Marton Natko <marton.natko@gmail.com>
* | \ \ \ Merge pull request #898 from chef/old_helpersThom May2016-11-102-12/+0
|\ \ \ \ \ | | | | | | | | | | | | Remove Ruby 1.8 / 1.9 spec helpers
| * | | | | Remove Ruby 1.8 / 1.9 spec helpersold_helpersTim Smith2016-11-092-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | | Merge pull request #899 from chef/depsThom May2016-11-102-13/+9
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Move dev deps to the Gemfile and bump changelog generator
| * | | | | Move dev deps to the Gemfile and bump changelog generatordepsTim Smith2016-11-092-13/+9
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | This removes the need for Rack 1.X which we had to pin due to the old github changelog generator release. We now have a new active support pin to keep Ruby 2.1 support Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | Merge pull request #895 from chef/notesTim Smith2016-11-091-4/+0
|\ \ \ \ \ | | | | | | | | | | | | Wipe the release notes
| * | | | | Wipe the release notesnotesTim Smith2016-11-091-4/+0
| | |_|/ / | |/| | | | | | | | These were very out of date
* | | | | Merge pull request #894 from chef/doc_changesTim Smith2016-11-091-81/+0
|\ \ \ \ \ | |/ / / / |/| | | | Remove the doc changes doc
| * | | | Remove the doc changes docdoc_changesTim Smith2016-11-091-81/+0
|/ / / / | | | | | | | | We're not using these anymore
* | | | Merge pull request #889 from chef/mvpsTim Smith2016-10-181-0/+5
|\ \ \ \ | |/ / / |/| / / | |/ / Add new MVPs for the last few releases
| * | Add new MVPs for the last few releasesmvpsTim Smith2016-10-181-0/+5
|/ / | | | | | | | | | | Get @johnbellone @davide125 @natewalck @jaymzh and @jerearista on here Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #873 from kylev/kv_lsb_orderTim Smith2016-10-182-16/+17
|\ \ | | | | | | Prefer the LSB standard configurator.
| * | Prefer the LSB standard configurator.Kyle VanderBeek2016-09-022-16/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There isn't and has never been mention of /etc/lsb-release in the official LSB universe. The "correct" way to discover LSB data is with lsb_release, so this uses that facility first, before falling back to oddball support. Without this change, some upgraded boxen will have the wrong results because an outdated /etc/lsb-release may have been left behind with different contents than what would come from the lsb_release util. See: http://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/lsbrelease.html http://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/etc.html
* | | Merge pull request #884 from erikng/masterTim Smith2016-10-181-1/+26
|\ \ \ | | | | | | | | Add logic to darwin hostname
| * | | Add logic to darwin hostnameErik Gomez2016-09-291-1/+26
| | | |
* | | | Merge pull request #888 from chef/8.21v8.21.0Tim Smith2016-10-182-3/+15
|\ \ \ \ | | | | | | | | | | Release 8.21
| * | | | Release 8.218.21Tim Smith2016-10-162-3/+15
|/ / / / | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Merge pull request #881 from coderanger/shardseed-docsClaire McQuin2016-10-031-0/+72
|\ \ \ \ | |/ / / |/| | | Doc changes for #877
| * | | Fix typo.Noah Kantrowitz2016-09-221-1/+1
| | | |
| * | | Better doc about ohai config files.Noah Kantrowitz2016-09-221-1/+7
| | | | | | | | | | | | @jaymzh is this correct?
| * | | Fix the plugin name.Noah Kantrowitz2016-09-221-1/+1
| | | |
| * | | I should remember maths :)Noah Kantrowitz2016-09-221-1/+1
| | | |
| * | | shard_seed doc changes.Noah Kantrowitz2016-09-211-0/+66
| | | |
* | | | Merge pull request #882 from chef/contributingTim Smith2016-09-283-239/+36
|\ \ \ \ | | | | | | | | | | Move contributing docs to chef/chef
| * | | | Move issue template to the .github directorycontributingTim Smith2016-09-221-0/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | Move contributing docs to chef/chef and format MDTim Smith2016-09-222-239/+36
|/ / / / | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Add shard plugin (#877)Phil Dibowitz2016-09-222-0/+142
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add shard plugin This adds a shard_seed that people can then shard on ala: ``` def in_shard(node, shard, shard_size) node['shard_seed'] % shard_size <= shard end ``` Which then enables: ``` if in_shard(node, 4, 100) # some new stuff else # some old stuff end ``` Which is roughly how we shard things. Other code to utilize this to follow. * Add 'hostname' vs 'fqdn' options; make function non-global * require library, allow multiple sources * Add mac support, change defaults, fix config * Fix style * Add tests, fix DMI lookup * More style fixes * Add failure in the event of unrecognized sources * More style fixes * Refector code for less repetition. Thanks @coderanger * Style fixes
* | | Merge pull request #876 from MsysTechnologiesllc/ali/ohai_uptime_hang_fixTim Smith2016-09-133-1/+176
|\ \ \ | | | | | | | | Ohai uptime plugin hangs in Windows.
| * | | Fixed travis issue and changed shared_context names in RSpecs.aliasgar162016-09-132-8/+8
| | | |
| * | | Added unit and functional RSpecs for ohai uptime plugin fix.aliasgar162016-09-133-2/+171
| | | |
| * | | Modified code to use appropriate WMI class based on the Windows version.aliasgar162016-09-121-2/+7
| | | |
| * | | Changed WMI class from which to retrieve the system uptime for ohai uptime ↵aliasgar162016-09-081-1/+2
|/ / / | | | | | | | | | plugin.
* | | Release 8.20.0v8.20.0Tim Smith2016-09-072-8/+21
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | add a plugin for machine information (#867)Davide Cavalca2016-09-074-0/+174
| | | | | | | | | | | | | | | | | | | | | | | | * add a plugin for machine information * split machine into hostnamectl and machine_id for clarity * Fix machineid spec
* | | Merge pull request #869 from MarkGibbons/Solaris_update_versionThom May2016-09-072-0/+27
|\ \ \ | | | | | | | | Solaris_update_version: Create kernel[:update] for solaris 2
| * | | Solaris_update_version: Create kernel[:update] for solaris 2markgibbons2016-08-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Add :update to the kernel mash Style fixes Typo fixes
| * | | Style fixesmarkgibbons2016-08-162-7/+7
| | | |
| * | | Solaris_update_version: Create kernel[:update] for solaris 2markgibbons2016-08-162-0/+27
| | | | | | | | | | | | | | | | Extract the Solaris update information from /etc/release.
* | | | Merge pull request #871 from jeunito/lxd_detectionThom May2016-09-072-0/+30
|\ \ \ \ | | | | | | | | | | Detect lxd
| * | | | detect lxdJose Asuncion2016-09-012-0/+30
| | |/ / | |/| |