Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make some changes without a sign offinfo_getter | Tim Smith | 2016-10-03 | 1 | -1/+0 |
| | |||||
* | Rename to info_getter | Tim Smith | 2016-10-03 | 333 | -1731/+1723 |
| | | | | | | Ohai I'm just here renaming your app Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | Add shard plugin (#877) | Phil Dibowitz | 2016-09-22 | 2 | -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_fix | Tim Smith | 2016-09-13 | 3 | -1/+176 |
|\ | | | | | Ohai uptime plugin hangs in Windows. | ||||
| * | Fixed travis issue and changed shared_context names in RSpecs. | aliasgar16 | 2016-09-13 | 2 | -8/+8 |
| | | |||||
| * | Added unit and functional RSpecs for ohai uptime plugin fix. | aliasgar16 | 2016-09-13 | 3 | -2/+171 |
| | | |||||
| * | Modified code to use appropriate WMI class based on the Windows version. | aliasgar16 | 2016-09-12 | 1 | -2/+7 |
| | | |||||
| * | Changed WMI class from which to retrieve the system uptime for ohai uptime ↵ | aliasgar16 | 2016-09-08 | 1 | -1/+2 |
|/ | | | | plugin. | ||||
* | Release 8.20.0v8.20.0 | Tim Smith | 2016-09-07 | 2 | -8/+21 |
| | | | | Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | add a plugin for machine information (#867) | Davide Cavalca | 2016-09-07 | 4 | -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_version | Thom May | 2016-09-07 | 2 | -0/+27 |
|\ | | | | | Solaris_update_version: Create kernel[:update] for solaris 2 | ||||
| * | Solaris_update_version: Create kernel[:update] for solaris 2 | markgibbons | 2016-08-25 | 1 | -3/+3 |
| | | | | | | | | | | | | Add :update to the kernel mash Style fixes Typo fixes | ||||
| * | Style fixes | markgibbons | 2016-08-16 | 2 | -7/+7 |
| | | |||||
| * | Solaris_update_version: Create kernel[:update] for solaris 2 | markgibbons | 2016-08-16 | 2 | -0/+27 |
| | | | | | | | | Extract the Solaris update information from /etc/release. | ||||
* | | Merge pull request #871 from jeunito/lxd_detection | Thom May | 2016-09-07 | 2 | -0/+30 |
|\ \ | | | | | | | Detect lxd | ||||
| * | | detect lxd | Jose Asuncion | 2016-09-01 | 2 | -0/+30 |
| | | | |||||
* | | | Merge pull request #872 from chef/nano | Tim Smith | 2016-09-06 | 1 | -36/+58 |
|\ \ \ | |/ / |/| | | Retrofit network plugin to work on Windows Nano Server | ||||
| * | | retrofit network plugin to work on nanonano | Matt Wrock | 2016-09-02 | 1 | -36/+58 |
|/ / | |||||
* | | Merge pull request #870 from chef/lcg/more-cops | Lamont Granquist | 2016-08-19 | 38 | -307/+347 |
|\ \ | | | | | | | chefstyle 0.4.0 | ||||
| * | | update the chefstyle pin | Lamont Granquist | 2016-08-19 | 1 | -1/+1 |
| | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
| * | | keep the code consistent with private/public | Lamont Granquist | 2016-08-19 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | | | | | | | fixing some of these methods to be private (when they were intended to be private but were actually public) broke tests. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
| * | | i was wondering where these got used... | Lamont Granquist | 2016-08-19 | 1 | -3/+3 |
| | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
| * | | fix more IdToCapture | Lamont Granquist | 2016-08-19 | 2 | -2/+2 |
| | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
| * | | not fixing Lint/NestedMethodDefinition | Lamont Granquist | 2016-08-19 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | there's some voodoo going on here i don't want to figure out how to unwind Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
| * | | fixing Lint/UselessAccessModifier | Lamont Granquist | 2016-08-19 | 2 | -25/+28 |
| | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
| * | | fixing Lint/UnderscorePrefixedVariableName | Lamont Granquist | 2016-08-19 | 2 | -9/+9 |
| | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
| * | | fixing stray 'end' | Lamont Granquist | 2016-08-19 | 1 | -1/+1 |
| | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
| * | | fixing Style/MultilineTernaryOperator | Lamont Granquist | 2016-08-19 | 2 | -5/+10 |
| | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
| * | | fixing Lint/Void | Lamont Granquist | 2016-08-19 | 1 | -2/+0 |
| | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
| * | | fix Style/StructInheritance | Lamont Granquist | 2016-08-19 | 1 | -1/+1 |
| | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
| * | | more chefstyle autocorrects after the engine upgrade | Lamont Granquist | 2016-08-19 | 17 | -200/+238 |
| | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
| * | | Style/StringLiterals fixes from rubocop 0.42.0 | Lamont Granquist | 2016-08-17 | 7 | -18/+18 |
| | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
| * | | fix Style/VariableName | Lamont Granquist | 2016-08-17 | 5 | -30/+30 |
| | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
| * | | autofixing cops for new chefstyle | Lamont Granquist | 2016-08-17 | 3 | -10/+10 |
|/ / | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
* | | Merge pull request #868 from chef/8.19.2v8.19.2 | Tim Smith | 2016-08-15 | 2 | -1/+9 |
|\ \ | | | | | | | Release 8.19.2 | ||||
| * | | Release 8.19.28.19.2 | Tim Smith | 2016-08-15 | 2 | -1/+9 |
|/ / | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | | Merge pull request #866 from chef/gem_install_fix | Tim Smith | 2016-08-15 | 1 | -1/+1 |
|\ \ | | | | | | | Require at least mixlib-log 1.7.1 | ||||
| * | | Require at least mixlib-log 1.7.1gem_install_fix | Tim Smith | 2016-08-15 | 1 | -1/+1 |
|/ / | | | | | | | | | | | Our use of the configured method now fails if we're not on 1.7.1. Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | | Release 8.19.1v8.19.1 | Matt Wrock | 2016-08-12 | 2 | -1/+10 |
| | | |||||
* | | Merge pull request #864 from chef/tm/no_init_now | Matt Wrock | 2016-08-12 | 2 | -17/+22 |
|\ \ | | | | | | | Move log configuration down to Mixlib::Log | ||||
| * | | retrofit tests to cover preconfigured state | Matt Wrock | 2016-08-12 | 1 | -9/+22 |
| | | | |||||
| * | | Move log configuration down to Mixlib::Log | Thom May | 2016-08-12 | 1 | -8/+0 |
|/ / | | | | | | | Signed-off-by: Thom May <thom@may.lt> | ||||
* | | Merge pull request #863 from chef/tm/less_greedy_init | Tim Smith | 2016-08-12 | 2 | -0/+10 |
|\ \ | | | | | | | only configure logging if we must | ||||
| * | | only configure logging if we musttm/less_greedy_init | Thom May | 2016-08-12 | 2 | -0/+10 |
|/ / | | | | | | | Signed-off-by: Thom May <thom@may.lt> | ||||
* | | Merge pull request #862 from chef/8.19v8.19.0 | Tim Smith | 2016-08-11 | 2 | -1/+14 |
|\ \ | | | | | | | Release 8.19.0 | ||||
| * | | Release 8.19.0 | Tim Smith | 2016-08-11 | 2 | -1/+14 |
|/ / | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | | Merge pull request #860 from jerearista/arista_eos | Tim Smith | 2016-08-11 | 2 | -0/+23 |
|\ \ | | | | | | | Add platform detection for Arista EOS | ||||
| * | | Add missing let statement | Jere Julian | 2016-08-10 | 1 | -0/+1 |
| | | | |||||
| * | | Add platform detection for Arista EOS | Jere Julian | 2016-08-10 | 2 | -0/+22 |
| | | | |||||
* | | | Merge pull request #861 from chef/rack_fix | Thom May | 2016-08-11 | 2 | -2/+5 |
|\ \ \ | | | | | | | | | Fix installs on Ruby 2.1 and rspec testing with rspec 3.5 |