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

Conversation

lamont-granquist
Copy link
Contributor

Merge of outstanding ready-to-merge PRs

closes #3990
closes #3986
closes #3973
closes #3968
closes #3941
closes #3911
closes #3901
closes #3900
closes #3864
closes #3858
closes #3834
closes #3776
closes #3650
closes #3633
closes #3530
closes #3529

patcon and others added 27 commits October 24, 2015 17:54
* Fix unit test cases.
* Ignore temporary spec testing files.
ENV['HOME'] to not be set to root's home folder.
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...).
Deprecates -H/--hide-healthy instead of removing it.
…ontext

Setting these values in Chef::Config is being deprecated in favor of
using the knife config directly.
#3946
- 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)
just output the abs path
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.
lamont-granquist added a commit that referenced this pull request Oct 25, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet