summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix rspec warning about `not_to raise_error` with a specific exception.rspec_15Pete Higgins2020-06-239-41/+41
| | | | | | 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>
* Bump version to 15.12.5 by Chef Expeditorv15.12.5Chef Expeditor2020-06-237-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10036 from chef/cron_access_15Tim Smith2020-06-231-3/+11
|\ | | | | Support for AIX and Solaris in cron_allow resource
| * Chefstyle fixesTim Smith2020-06-231-4/+4
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Make sure file is properly scoped in cron_accessTim Smith2020-06-231-2/+2
| | | | | | | | | | | | This was hitting the file resource not the file ruby class. Signed-off-by: Tim Smith <tsmith@chef.io>
| * changed according to suggestion of @phigginsaklyachkin2020-06-231-10/+8
| | | | | | | | Signed-off-by: aklyachkin <aklyachkin@gmail.com>
| * support for AIX and Solaris in cron_allow resourceaklyachkin2020-06-231-3/+13
| | | | | | | | Signed-off-by: aklyachkin <aklyachkin@gmail.com>
* | Bump version to 15.12.4 by Chef Expeditorv15.12.4Chef Expeditor2020-06-237-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10030 from chef/zypper_15Tim Smith2020-06-232-35/+105
|\ \ | | | | | | Fix zypper_repository key handling on SLES 15+
| * | Fix a spec failure due to the rebaseTim Smith2020-06-231-1/+1
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Add specs and rename fingerprint -> short idTim Smith2020-06-232-33/+86
| | | | | | | | | | | | | | | | | | | | | | | | These aren't actually fingerprints. They're short key ids https://futureboy.us/pgp.html#ShortKeyID Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Change how we get the fingerprint againTim Smith2020-06-231-4/+4
| | | | | | | | | | | | | | | | | | 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>
| * | Make sure gpg_version is actually a version objectTim Smith2020-06-231-1/+1
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Fix zypper_repository key handling on SLES 15+Tim Smith2020-06-231-4/+21
| |/ | | | | | | | | | | | | | | 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>
* | Bump version to 15.12.3 by Chef Expeditorv15.12.3Chef Expeditor2020-06-237-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10032 from chef/15_powershellTim Smith2020-06-232-87/+100
|\ \ | | | | | | Fixed Powershell_Package does not throw error when it cannot connect to powershell gallery
| * | Fix spec that was missed in the rebaseTim Smith2020-06-231-1/+1
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Fixed Powershell_Package does not throw error when it cannot connect to ↵sanga172020-06-232-86/+99
| |/ | | | | | | | | | | powershell gallery Signed-off-by: sanga17 <sausekar@msystechnologies.com>
* | Bump version to 15.12.2 by Chef Expeditorv15.12.2Chef Expeditor2020-06-237-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10033 from chef/15_libarchiveTim Smith2020-06-231-6/+25
|\ \ | |/ |/| archive_file: move ffi-libarchive into a simple helper method
| * archive_file: move ffi-libarchive into a simple helper method15_libarchiveTim Smith2020-06-221-6/+25
| | | | | | | | | | | | | | 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>
* | Bump version to 15.12.1 by Chef Expeditorv15.12.1Chef Expeditor2020-06-237-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10031 from chef/hostname_15Tim Smith2020-06-231-1/+2
|\ \ | | | | | | hostname: Improve the windows reboot message
| * | hostname: Improve the windows reboot messagehostname_15Tim Smith2020-06-221-1/+2
| |/ | | | | | | | | | | Make sure this works in cinc Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 15.12.0 by Chef Expeditorv15.12.0Chef Expeditor2020-06-237-19/+27
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10034 from chef/bump_expeditor_266Tim Smith2020-06-231-1/+1
|\ \ | |/ |/| Update Ruby in Expeditor to 2.6.6
| * Update Ruby in Expeditor to 2.6.6Tim Smith2020-06-231-1/+1
|/ | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #10029 from chef/debian_8_15Tim Smith2020-06-221-2/+1
|\ | | | | Stop producing packages for EOL Debian 8
| * Stop producing packages for EOL Debian 8Tim Smith2020-06-221-2/+1
|/ | | | | | Debian 8 went EOL June 6th: https://endoflife.software/operating-systems/linux/debian Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #10015 from ramereth/chef-15_fix-chef-apply-enforce_licenseTim Smith2020-06-182-1/+8
|\ | | | | Fix how enforce_license is set in run method for chef-apply
| * Fix how enforce_license is set in run method for chef-applyLance Albertson2020-06-172-1/+8
|/ | | | | | | | | | | | | | | 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>
* Update CHANGELOG.md to reflect the promotion of 15.11.8Chef Expeditor2020-06-012-16/+13
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 15.11.8 by Chef Expeditorv15.11.8Chef Expeditor2020-05-307-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9938 from chef/revert_pathsTim Smith2020-05-301-1/+2
|\ | | | | Revert the change to the load paths in the specs
| * Use lamonts set of pathsTim Smith2020-05-301-6/+5
| | | | | | | | | | | | I confirmed these work with chefdk Signed-off-by: Tim Smith <tsmith@chef.io>
| * Revert the change to the load paths in the specsrevert_pathsTim Smith2020-05-291-4/+6
|/ | | | | | | | | | | 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>
* Bump version to 15.11.7 by Chef Expeditorv15.11.7Chef Expeditor2020-05-297-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9936 from chef/spec_updatesTim Smith2020-05-299-20/+27
|\ | | | | Pull in spec task / helper from master
| * Pull in spec task / helper from masterTim Smith2020-05-299-20/+27
| | | | | | | | | | | | We've changed up some things Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 15.11.6 by Chef Expeditorv15.11.6Chef Expeditor2020-05-297-19/+20
|/ | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9935 from chef/avoid_spec_warningsTim Smith2020-05-292-4/+4
|\ | | | | Avoid some constant warnings in specs
| * Avoid some constant warnings in specsTim Smith2020-05-292-4/+4
|/ | | | | | We've already done this on master Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 15.11.5 by Chef Expeditorv15.11.5Chef Expeditor2020-05-287-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9924 from chef/lcg/chef-15-more-config-backcompatLamont Granquist2020-05-271-1/+2
|\
| * Chef-16 API compatibilityLamont Granquist2020-05-271-1/+2
|/ | | | | | | This is messy but thankfully its is against a codebranch which will become extinct. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Merge pull request #9906 from chef/csnapp/9476Tim Smith2020-05-261-0/+1
|\ | | | | Windows functional tests should be single-use
| * Windows functional test should be single-usecsnapp/9476Christopher A. Snapp2020-05-221-0/+1
| | | | | | | | Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
* | Bump version to 15.11.4 by Chef Expeditorv15.11.4Chef Expeditor2020-05-267-18/+26
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9915 from chef/fix_habTim Smith2020-05-261-1/+1
|\ \ | | | | | | Pin habitat bundler to 1.17.3
| * | Pin habitat bundler to 1.17.3Tim Smith2020-05-261-1/+1
|/ / | | | | | | | | | | This should fix our builds Signed-off-by: Tim Smith <tsmith@chef.io>