| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /Users/pete/work/chef/spec/unit/resource_spec.rb:381:in `block (4 levels) in <top (required)>'.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Support for AIX and Solaris in cron_allow resource
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
This was hitting the file resource not the file ruby class.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: aklyachkin <aklyachkin@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: aklyachkin <aklyachkin@gmail.com>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Fix zypper_repository key handling on SLES 15+
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These aren't actually fingerprints. They're short key ids
https://futureboy.us/pgp.html#ShortKeyID
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
It turns out the string I was matching on before was actually an error message to stderr. We can't rely on that.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |/
| |
| |
| |
| |
| |
| |
| | |
gpg 2.2 changed the output without a major version bump. Now we need to
get the gpg version and then shell out the appropriate command to
determine the fingerprint.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Fixed Powershell_Package does not throw error when it cannot connect to powershell gallery
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |/
| |
| |
| |
| |
| | |
powershell gallery
Signed-off-by: sanga17 <sausekar@msystechnologies.com>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| |/
|/| |
archive_file: move ffi-libarchive into a simple helper method
|
| |
| |
| |
| |
| |
| |
| | |
This way it always gets called in the action, but we can still avoid
spec failures on systems that don't have ffi-libarchive
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
hostname: Improve the windows reboot message
|
| |/
| |
| |
| |
| |
| | |
Make sure this works in cinc
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| |/
|/| |
Update Ruby in Expeditor to 2.6.6
|
|/
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
Stop producing packages for EOL Debian 8
|
|/
|
|
|
|
| |
Debian 8 went EOL June 6th: https://endoflife.software/operating-systems/linux/debian
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
Fix how enforce_license is set in run method for chef-apply
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I recently discovered that when using
Chef::Application::Apply.new.run(enforce_license: false), chef-apply will still
run the license verification when I expected it to be disabled. It seems this
feature works if you install this as a gem, however if you build chef using
omnibus with this set, it refuses to work. I suspect this might be something
with appbundler.
I noticed that other binaries (i.e. solo) were using "run(enforce_license:
false)" instead of "run(enforce_license = false)" which chef-apply uses. If I
changed this to "run(enforce_license: false)", this worked as expected.
Signed-off-by: Lance Albertson <lance@osuosl.org>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Revert the change to the load paths in the specs
|
| |
| |
| |
| |
| |
| | |
I confirmed these work with chefdk
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/
|
|
|
|
|
|
|
|
|
| |
This reverts commit de8d3a3299a18d4bfd2b419cb1303258441a862a.
This code works fine within Workstation, but it fails hard with DK. We
need to keep the DK verify checks running with Chef 15 until both of
these codebases go away. For now just revert this and roll forward with
life in master where we have the new paths
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Pull in spec task / helper from master
|
| |
| |
| |
| |
| |
| | |
We've changed up some things
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Avoid some constant warnings in specs
|
|/
|
|
|
|
| |
We've already done this on master
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ |
|
|/
|
|
|
|
|
| |
This is messy but thankfully its is against a codebranch which
will become extinct.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\
| |
| | |
Windows functional tests 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.
|
|\ \
| | |
| | | |
Pin habitat bundler to 1.17.3
|
|/ /
| |
| |
| |
| |
| | |
This should fix our builds
Signed-off-by: Tim Smith <tsmith@chef.io>
|