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
Lcg/merges #4105
Commits on Oct 25, 2015
-
Allow user@hostname format for knife-bootstrap. [#3527]
* Fix unit test cases. * Ignore temporary spec testing files.
Configuration menu - View commit details
-
Copy full SHA for 0af4059 - Browse repository at this point
Copy the full SHA 0af4059View commit details -
Added '--sudo-preserve-home' option to knife bootstrap to allow
ENV['HOME'] to not be set to root's home folder.
Configuration menu - View commit details
-
Copy full SHA for 92e1000 - Browse repository at this point
Copy the full SHA 92e1000View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44f9cd3 - Browse repository at this point
Copy the full SHA 44f9cd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 848b629 - Browse repository at this point
Copy the full SHA 848b629View commit details -
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...).
Configuration menu - View commit details
-
Copy full SHA for 8766e4b - Browse repository at this point
Copy the full SHA 8766e4bView commit details -
Bring back -H/--hide-healthy for back-compat
Deprecates -H/--hide-healthy instead of removing it.
Configuration menu - View commit details
-
Copy full SHA for 3dee5a5 - Browse repository at this point
Copy the full SHA 3dee5a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 349bc2b - Browse repository at this point
Copy the full SHA 349bc2bView commit details -
dont spit out stdout and stderr for execute resource failure, if its …
…declared sensitive
Configuration menu - View commit details
-
Copy full SHA for 484e7e5 - Browse repository at this point
Copy the full SHA 484e7e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for de79955 - Browse repository at this point
Copy the full SHA de79955View commit details -
Configuration menu - View commit details
-
Copy full SHA for 738be6a - Browse repository at this point
Copy the full SHA 738be6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb7712e - Browse repository at this point
Copy the full SHA cb7712eView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 3bdfa8f - Browse repository at this point
Copy the full SHA 3bdfa8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4731e4b - Browse repository at this point
Copy the full SHA 4731e4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 219e84f - Browse repository at this point
Copy the full SHA 219e84fView commit details -
Configuration menu - View commit details
-
Copy full SHA for eed2c5a - Browse repository at this point
Copy the full SHA eed2c5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ae6710 - Browse repository at this point
Copy the full SHA 6ae6710View commit details -
Configuration menu - View commit details
-
Copy full SHA for 766a814 - Browse repository at this point
Copy the full SHA 766a814View commit details -
We shouldn't be subclassing Struct.new - if the file is loaded twice …
…we get a superclass mismatch error
Configuration menu - View commit details
-
Copy full SHA for dc4236f - Browse repository at this point
Copy the full SHA dc4236fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f32799 - Browse repository at this point
Copy the full SHA 1f32799View commit details -
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)
Configuration menu - View commit details
-
Copy full SHA for f13cda4 - Browse repository at this point
Copy the full SHA f13cda4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee6b562 - Browse repository at this point
Copy the full SHA ee6b562View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51acd91 - Browse repository at this point
Copy the full SHA 51acd91View commit details -
just output the abs path
Configuration menu - View commit details
-
Copy full SHA for 8b8e264 - Browse repository at this point
Copy the full SHA 8b8e264View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 33a175a - Browse repository at this point
Copy the full SHA 33a175aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e3bd3f - Browse repository at this point
Copy the full SHA 4e3bd3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fea6de - Browse repository at this point
Copy the full SHA 3fea6deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7851615 - Browse repository at this point
Copy the full SHA 7851615View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bebe8c - Browse repository at this point
Copy the full SHA 1bebe8cView commit details