summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* make some changes without a sign offinfo_getterTim Smith2016-10-031-1/+0
|
* Rename to info_getterTim Smith2016-10-03333-1731/+1723
| | | | | | Ohai I'm just here renaming your app 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
| | |
* | | Merge pull request #872 from chef/nanoTim Smith2016-09-061-36/+58
|\ \ \ | |/ / |/| | Retrofit network plugin to work on Windows Nano Server
| * | retrofit network plugin to work on nanonanoMatt Wrock2016-09-021-36/+58
|/ /
* | Merge pull request #870 from chef/lcg/more-copsLamont Granquist2016-08-1938-307/+347
|\ \ | | | | | | chefstyle 0.4.0
| * | update the chefstyle pinLamont Granquist2016-08-191-1/+1
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | keep the code consistent with private/publicLamont Granquist2016-08-191-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 Granquist2016-08-191-3/+3
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | fix more IdToCaptureLamont Granquist2016-08-192-2/+2
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | not fixing Lint/NestedMethodDefinitionLamont Granquist2016-08-191-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/UselessAccessModifierLamont Granquist2016-08-192-25/+28
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | fixing Lint/UnderscorePrefixedVariableNameLamont Granquist2016-08-192-9/+9
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | fixing stray 'end'Lamont Granquist2016-08-191-1/+1
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | fixing Style/MultilineTernaryOperatorLamont Granquist2016-08-192-5/+10
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | fixing Lint/VoidLamont Granquist2016-08-191-2/+0
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | fix Style/StructInheritanceLamont Granquist2016-08-191-1/+1
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | more chefstyle autocorrects after the engine upgradeLamont Granquist2016-08-1917-200/+238
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | Style/StringLiterals fixes from rubocop 0.42.0Lamont Granquist2016-08-177-18/+18
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | fix Style/VariableNameLamont Granquist2016-08-175-30/+30
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | autofixing cops for new chefstyleLamont Granquist2016-08-173-10/+10
|/ / | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Merge pull request #868 from chef/8.19.2v8.19.2Tim Smith2016-08-152-1/+9
|\ \ | | | | | | Release 8.19.2
| * | Release 8.19.28.19.2Tim Smith2016-08-152-1/+9
|/ / | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #866 from chef/gem_install_fixTim Smith2016-08-151-1/+1
|\ \ | | | | | | Require at least mixlib-log 1.7.1
| * | Require at least mixlib-log 1.7.1gem_install_fixTim Smith2016-08-151-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.1Matt Wrock2016-08-122-1/+10
| |
* | Merge pull request #864 from chef/tm/no_init_nowMatt Wrock2016-08-122-17/+22
|\ \ | | | | | | Move log configuration down to Mixlib::Log
| * | retrofit tests to cover preconfigured stateMatt Wrock2016-08-121-9/+22
| | |
| * | Move log configuration down to Mixlib::LogThom May2016-08-121-8/+0
|/ / | | | | | | Signed-off-by: Thom May <thom@may.lt>
* | Merge pull request #863 from chef/tm/less_greedy_initTim Smith2016-08-122-0/+10
|\ \ | | | | | | only configure logging if we must
| * | only configure logging if we musttm/less_greedy_initThom May2016-08-122-0/+10
|/ / | | | | | | Signed-off-by: Thom May <thom@may.lt>
* | Merge pull request #862 from chef/8.19v8.19.0Tim Smith2016-08-112-1/+14
|\ \ | | | | | | Release 8.19.0
| * | Release 8.19.0Tim Smith2016-08-112-1/+14
|/ / | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #860 from jerearista/arista_eosTim Smith2016-08-112-0/+23
|\ \ | | | | | | Add platform detection for Arista EOS
| * | Add missing let statementJere Julian2016-08-101-0/+1
| | |
| * | Add platform detection for Arista EOSJere Julian2016-08-102-0/+22
| | |
* | | Merge pull request #861 from chef/rack_fixThom May2016-08-112-2/+5
|\ \ \ | | | | | | | | Fix installs on Ruby 2.1 and rspec testing with rspec 3.5