| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Two improvements:
- Compare frequency to :idle_time instead of comparing to an incomplete list of other frequencies
- Keep all the validation logic in the function instead of splitting it between the function and where the function is called
Added some specs tests too
Signed-off-by: Alan Gauthier <algaut35@gmail.com>
|
| |
|
|\
| |
| | |
add Chef::NodeMap#delete_class API (Chef 13 backport)
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
halite needs this public API in order to not be so brittle.
needs tests...
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
|
|\ \
| |/
|/| |
RemoteFile: unlink tempfile when using cache control shows unchanged (Chef-13 backport)
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|/
|
|
|
|
|
|
| |
We can get back a nil tempfile from the streaming downloader which means
that we need to clean up our own tempfile since the base file provider
will not do it for us.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
|
|\
| |
| | |
Use the version of LicenseScout that comes with the Omnibus gem.
|
|/
|
|
|
|
|
| |
LicenseScout is being refactored. We have released a 1.x version that
is pinned within the Omnibus gem.
Signed-off-by: Tom Duffield <tom@chef.io>
|
| |
|
|\
| |
| | |
Backport the powershell spec fix to get Appveyor green again
|
|/
|
|
|
|
|
| |
we don't need to test the exact output of this powershell command, just
get literally anything that looks like it ran successfully.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
|
|\
| |
| | |
Ensure that we create a docker compatible ca-certs symlink
|
|/
|
|
| |
Signed-off-by: Thom May <thom@chef.io>
|
| |
|
|\
| |
| | |
fix node assignment of ImmutableArrays to VividMashes/AttrArrays (Chef-13 backport)
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
node.default['foo'] = node['bar'] need to have node['bar'] have its
cache vivified otherwise we potentially get an empty hash or array.
in the case of hashes, the assignment must have been walking though
the values with #each or something which poked the cache on the target
hash which caused it to vivify, so this bug only affected Arrays
where the AttrArray initializer likely did a quick-n-dirty copy of
the internal structure of the ImmutableArray which was empty.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
|
|\
| |
| | |
Fix regression where message isn't an identity property in log resource
|
|/
|
|
|
|
|
|
|
| |
resource
In chef 13.6 this was the case. In the cleanup this one was missed and
this breaks chefspec behavior
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Thom May <thom@chef.io>
|
| |
|
|\
| |
| | |
Update release notes for 13.7
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Thom May <thom@chef.io>
|
| | |
|
|\ \
| | |
| | | |
Revert deprecation of use_inline_resources
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
This reverts commit aab192e2b5df57d13213f8e89ce6fccc74a01db1.
|
| | |
| | |
| | |
| | | |
This reverts commit dfc85c82105d2c7a5b03cf8cf60ba9e0a8fe51f9.
|
| | | |
|
|\ \ \
| |/ /
|/| | |
fix double-logging bug
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
somehow we're getting an IO object here which is a STDOUT wired up to
file descriptor 10 which is not the same as "STDOUT" which is wired up
to file descriptor 1.
i can't track down where or how this is happening.
this works around the problem by just inspecting if the log_location is
set to an IO object which is a tty or not which should be broadly
equivalent (and perhaps more correct than the old code? not sure if
the edge cases matter or not).
also i'm not smart enough right now to figure out how to test this
adequately, particularly in ways that would actually catch if it
really breaks in the future (particularly due to the gnarliness of
wanting to have a functional test which constructs a tty when run on
travis without a tty....)
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\ \
| |/
|/| |
Add Ruby 2.5 testing to Travis
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|/
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
|
|\
| |
| | |
Add a warning that Chef 11 server support in knife user is deprecated
|
| |
| |
| |
| |
| |
| | |
We're currently shipping 2 of each of these plugins and rewriting the user input when we think they actually meant to support Chef 11 server. It's code that really needs to go away at this point.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \
| | |
| | | |
Fix yum_repository to properly reload chef's package cache post repo setup
|
| | |
| | |
| | |
| | |
| | |
| | | |
Missed that entirely
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Without this you cannot install a package that is in that repository. We already did this for the yum cache, but not for the DNF cache.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \
| | | |
| | | | |
[MSYS-735]fix validation for idle_time
|