| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a breaking change to fix a breaking change in Chef 16.0.
The new behavior is that a resource which relies upon the reource_name
statement to wire the resource up to the DSL will fail (although the
very old wiring of the "<cookbook_name>_<resource filename>" continues
to work).
So for a resource which does not get its DSL wiring from the filename,
only declaring a resource_name will fail:
```
resource_name :foo
```
This can be fixed by adding an explicit `provides` line (which is
backwards compatible):
```
resource_name :foo
provides :foo
```
If backwards compatibility is not a concern, then post-16.0 the
resource_name call can be completely dropped:
```
provides :foo
```
This is a vastly simpler backwards compatibility break than the
unintentional break in #9885, which is difficult to describe and
to detect.
The rules going forward are fairly simple to explain:
1. The resource_name now only sets the resource_name.
2. The old behavior of the fallback resource_name and DSL wiring
based on the filename is preserved (unless the values are set).
3. In Chef 16, The first provides line will set the resource_name if
it has not already been set, allowing the resource_name to be
omitted.
It is recommended that all resources only set provides lines, the
use of the fallback filename-based wiring is discouraged and
explicitly setting the resource_name is discouraged.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Pull in updated omnibus-software for rubygems perf patch
|
|/ /
| |
| |
| |
| |
| | |
This resolves the rubygems perf regression in the release that shipped in Ruby 2.7.x
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Update our usage of OpenSSL::Digest to avoid Ruby 3 breaking change
|
| | |
| | |
| | |
| | |
| | |
| | | |
There's a RuboCop cop to fix these before Ruby 3 breaks it.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \
| |/ /
|/| | |
Windows functional test should be single-use
|
|/ /
| |
| |
| | |
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Refactor verify pipeline to use Ruby 2.7 on Windows docker image
|
| | |
| | |
| | |
| | | |
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
|
|/ /
| |
| |
| | |
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | |
| | |
| | | |
chef/fix-ruby27-keyword-arg-warning-in-macos_userdefaults
macos_userdefaults: Fix ruby 2.7 keyword args warning and refactor a bit
|
| | |
| | |
| | |
| | | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| | |
| | |
| | |
| | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
looks like the syntax for equality pinning to a version changed in
fedora 31
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
| | |
| | |
| | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \
| |/ /
|/| | |
Update openssl to 1.0.2v
|
|/ /
| |
| |
| |
| |
| | |
This includes security hardening improvements
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
[chef-utils] fix typos
|
|/ /
| |
| |
| |
| |
| | |
Slightly reword the introduction paragraph, and fix the mention of Devuan (the systemd-less Debian derivative).
Signed-off-by: Michel Salim <michel@fb.com>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| |/
|/| |
Fixed armv6l and armv7l tests.
|
|/
|
|
| |
Signed-off-by: Matt Ray <github@mattray.dev>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Fix bootstrapping windows from linux
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ChefConfig::Config.etc_chef_dir and c_chef_dir would normally replace
the standard forward slash separator with the backslash separator for
Windows using PathHelper.cleanpath. However that has conditionals
checking the platform and there's no clean way to modify those
conditionals to take into account connection.platform in knife bootstrap
when appropriate.
This is a simple solution without mucking up the method definition of
any more methods in chef-config.
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
|/
|
|
|
|
|
|
|
|
|
|
| |
For reasons only inferred on the internet, a batch label cannot exist
near a "block boundary." What exactly that is I cannot discover. But
this does fix this error:
"The system cannot find the batch label specified - key_create"
Fixes #9844
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Small cleanups to checksum logic in file/windows_package/chef::mixin::checksum
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| |/
|/| |
Added armv6l and armv7l to arm? and armhf? helpers
|
|/
|
|
|
|
|
|
| |
armv6l is Raspberry Pi 1/Zero
armv7l is Raspberry Pi 2,3,4
Tested with Raspbian 10, Debian 10, Centos 7
Signed-off-by: Matt Ray <github@mattray.dev>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Add spellcheck config and fix a bunch of violations
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|