Permalink
Commits on Sep 22, 2016
  1. Add shard plugin (#877)

    * 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
    jaymzh committed on GitHub Sep 22, 2016
Commits on Sep 14, 2016
  1. Merge pull request #876 from MsysTechnologiesllc/ali/ohai_uptime_hang…

    …_fix
    
    Ohai uptime plugin hangs in Windows.
    tas50 committed on GitHub Sep 14, 2016
Commits on Sep 13, 2016
  1. Fixed travis issue and changed shared_context names in RSpecs.

    aliasgar16 committed Sep 13, 2016
  2. Added unit and functional RSpecs for ohai uptime plugin fix.

    aliasgar16 committed Sep 13, 2016
Commits on Sep 12, 2016
  1. Modified code to use appropriate WMI class based on the Windows version.

    aliasgar16 committed Sep 12, 2016
Commits on Sep 8, 2016
  1. Changed WMI class from which to retrieve the system uptime for ohai u…

    …ptime plugin.
    aliasgar16 committed Sep 8, 2016
Commits on Sep 7, 2016
  1. Release 8.20.0

    Signed-off-by: Tim Smith <tsmith@chef.io>
    tas50 committed Sep 7, 2016
  2. add a plugin for machine information (#867)

    * add a plugin for machine information
    
    * split machine into hostnamectl and machine_id for clarity
    
    * Fix machineid spec
    davide125 committed with jaymzh Sep 7, 2016
  3. Merge pull request #869 from MarkGibbons/Solaris_update_version

    Solaris_update_version: Create kernel[:update] for solaris 2
    thommay committed on GitHub Sep 7, 2016
  4. Merge pull request #871 from jeunito/lxd_detection

    Detect lxd
    thommay committed on GitHub Sep 7, 2016
Commits on Sep 6, 2016
  1. Merge pull request #872 from chef/nano

    Retrofit network plugin to work on Windows Nano Server
    tas50 committed on GitHub Sep 6, 2016
Commits on Sep 2, 2016
  1. retrofit network plugin to work on nano

    mwrock committed Sep 2, 2016
Commits on Sep 1, 2016
  1. detect lxd

    jeunito committed Sep 1, 2016
Commits on Aug 25, 2016
  1. Solaris_update_version: Create kernel[:update] for solaris 2

    Add :update to the kernel mash
    Style fixes
    Typo fixes
    MarkGibbons committed Aug 25, 2016
Commits on Aug 19, 2016
  1. Merge pull request #870 from chef/lcg/more-cops

    chefstyle 0.4.0
    lamont-granquist committed on GitHub Aug 19, 2016
  2. update the chefstyle pin

    Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
    lamont-granquist committed Aug 19, 2016
  3. keep the code consistent with private/public

    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>
    lamont-granquist committed Aug 19, 2016
  4. i was wondering where these got used...

    Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
    lamont-granquist committed Aug 19, 2016
  5. fix more IdToCapture

    Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
    lamont-granquist committed Aug 19, 2016
  6. not fixing Lint/NestedMethodDefinition

    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>
    lamont-granquist committed Aug 19, 2016
  7. fixing Lint/UselessAccessModifier

    Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
    lamont-granquist committed Aug 19, 2016
  8. fixing Lint/UnderscorePrefixedVariableName

    Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
    lamont-granquist committed Aug 19, 2016
  9. fixing stray 'end'

    Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
    lamont-granquist committed Aug 19, 2016
  10. fixing Style/MultilineTernaryOperator

    Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
    lamont-granquist committed Aug 19, 2016
  11. fixing Lint/Void

    Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
    lamont-granquist committed Aug 19, 2016
  12. fix Style/StructInheritance

    Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
    lamont-granquist committed Aug 19, 2016
  13. more chefstyle autocorrects after the engine upgrade

    Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
    lamont-granquist committed Aug 19, 2016
Commits on Aug 17, 2016
  1. Style/StringLiterals fixes from rubocop 0.42.0

    Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
    lamont-granquist committed Aug 17, 2016
  2. fix Style/VariableName

    Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
    lamont-granquist committed Aug 17, 2016
  3. autofixing cops for new chefstyle

    Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
    lamont-granquist committed Aug 17, 2016
Commits on Aug 16, 2016
  1. Style fixes

    MarkGibbons committed Aug 16, 2016
  2. Solaris_update_version: Create kernel[:update] for solaris 2

    Extract the Solaris update information from /etc/release.
    MarkGibbons committed Aug 16, 2016
  3. Merge pull request #868 from chef/8.19.2

    Release 8.19.2
    tas50 committed on GitHub Aug 16, 2016
  4. Release 8.19.2

    Signed-off-by: Tim Smith <tsmith@chef.io>
    tas50 committed Aug 16, 2016
Commits on Aug 15, 2016
  1. Merge pull request #866 from chef/gem_install_fix

    Require at least mixlib-log 1.7.1
    tas50 committed on GitHub Aug 15, 2016