Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lcg/merges #4105

Merged
merged 28 commits into from Oct 25, 2015
Merged

Lcg/merges #4105

merged 28 commits into from Oct 25, 2015

Commits on Oct 25, 2015

  1. Allow user@hostname format for knife-bootstrap. [#3527]

    * Fix unit test cases.
    * Ignore temporary spec testing files.
    patcon authored and lamont-granquist committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    0af4059 View commit details
    Browse the repository at this point in the history
  2. Added '--sudo-preserve-home' option to knife bootstrap to allow

    ENV['HOME'] to not be set to root's home folder.
    Paul Mooring authored and lamont-granquist committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    92e1000 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    44f9cd3 View commit details
    Browse the repository at this point in the history
  4. Define == for node objects

    dbresson authored and lamont-granquist committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    848b629 View commit details
    Browse the repository at this point in the history
  5. Changes --hide-healthy to --hide-by-mins MINS

    Fixes #3679
    
    Reasoning:
    
    The definition of "healthy" is overloaded in the old form
    (--hide-healthy) to be "a host that has run chef". The code
    makes no check to determine if the chef run was successful,
    so it has the capability to provide false positives for
    "health". Just because a node object was saved with ohai_time
    set doesn't mean the Chef run was successful. There are
    exception handlers like lastrun that intentionally save the node
    object on exception.
    
    The previous 1 hour hardcoded time was totally arbitrary. Perhaps
    "healthy" to others means "nodes that have run chef in the last
    4 hours" (or 30 minutes, or 3 days...).
    jblaine authored and lamont-granquist committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    8766e4b View commit details
    Browse the repository at this point in the history
  6. Bring back -H/--hide-healthy for back-compat

    Deprecates -H/--hide-healthy instead of removing it.
    jblaine authored and lamont-granquist committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    3dee5a5 View commit details
    Browse the repository at this point in the history
  7. Adjust tests per BTM

    jblaine authored and lamont-granquist committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    349bc2b View commit details
    Browse the repository at this point in the history
  8. dont spit out stdout and stderr for execute resource failure, if its …

    …declared sensitive
    ranjib authored and lamont-granquist committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    484e7e5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    de79955 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    738be6a View commit details
    Browse the repository at this point in the history
  11. Remove duplicate 'Accept' header in spec

    Julian C. Dunn authored and lamont-granquist committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    cb7712e View commit details
    Browse the repository at this point in the history
  12. Consider only knife configuration for chef environment in bootstrap c…

    …ontext
    
    Setting these values in Chef::Config is being deprecated in favor of
    using the knife config directly.
    #3946
    evan2645 authored and lamont-granquist committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    3bdfa8f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    4731e4b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    219e84f View commit details
    Browse the repository at this point in the history
  15. follow comment of #3900

    sawanoboly authored and lamont-granquist committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    eed2c5a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    6ae6710 View commit details
    Browse the repository at this point in the history
  17. Add option --tmux-split

    permyakovsv authored and lamont-granquist committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    766a814 View commit details
    Browse the repository at this point in the history
  18. We shouldn't be subclassing Struct.new - if the file is loaded twice …

    …we get a superclass mismatch error
    tyler-ball authored and lamont-granquist committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    dc4236f View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    1f32799 View commit details
    Browse the repository at this point in the history
  20. Fix cookbook installation from supermarket on windows

    - Fixes https://tickets.opscode.com/browse/CHEF-3394 by adding the `--force-local` option to tar
    - Might fix #1753 with the added double quotes
    
    Proof of the fix:
    ![Proof of the fix](http://imgur.com/MOvHdPD.png)
    MichaelPereira authored and lamont-granquist committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    f13cda4 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    ee6b562 View commit details
    Browse the repository at this point in the history
  22. better error reporting

    h4ck3rm1k3 authored and lamont-granquist committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    51acd91 View commit details
    Browse the repository at this point in the history
  23. Update registration.rb

    just output the abs path
    h4ck3rm1k3 authored and lamont-granquist committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    8b8e264 View commit details
    Browse the repository at this point in the history
  24. fix errors when files go away during chown

    The deploy resource attempts to change the owner of all files in the
    deploy directory, but it breaks when files are removed during the
    process. This is because FileUtils::chown_R gets a list of the files and
    then walks through and updates them, and if that takes any time at  all
    then files may be deleted during the process. When this happens, the
    deploy will fail with Errno::ENOENT. chown_R takes an options hash with
    :force as one of the available options, and the only thing it does is
    stop errors from being raised under these circumstances.
    aub authored and lamont-granquist committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    33a175a View commit details
    Browse the repository at this point in the history
  25. fix tests for my change

    aub authored and lamont-granquist committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    4e3bd3f View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    3fea6de View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    7851615 View commit details
    Browse the repository at this point in the history
  28. add CHANGELOG.md

    lamont-granquist committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    1bebe8c View commit details
    Browse the repository at this point in the history