| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
If `sudo` is `false`, then Travis CI will use a container for testing. If
`sudo` is `required, then it will use a GCE VM. We've recently been
seeing permission errors that appeared related to the Travis CI infrastructure.
Switching to the VM resolves those errors. The downside is that it takes 50s
instead of 5s to start up the tester, but given that our tests take 18 minutes
that is okay.
https://docs.travis-ci.com/user/reference/trusty/
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
| |
|
|\
| |
| | |
Don't try to uninstall bundler on appveyor
|
| |
| |
| |
| |
| |
| |
| | |
A recent change to the ifconfig provider added a new shellout call without
a corresponding stub added to the unit tests.
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As of Rubygems 2.7 bundler is a default gem and cannot be uninstalled.
Appveyor recently (11/19) changed and now has bundler as a default gem.
We'll stop stop trying to force a bundler version and track what Ruby gives us.
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
| | |
|
|\ \
| |/
|/| |
Fix variable name in solaris service provider
|
|/
|
|
|
|
|
|
| |
Without setting "maintenance" to false service restart
fails with error "service is not in a maintenance or degraded state"
on solaris nodes
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
|
| |
|
|\
| |
| | |
Revert "add missing functional tests for users"
|
| |
| |
| |
| | |
This reverts commit fa6e4e89b586bb8eaee767d5602b13cb75f6c073.
|
| | |
|
|\ \
| | |
| | | |
Filter out periods from tmux session name
|
|/ /
| |
| |
| |
| |
| | |
Fixes #6592
Signed-off-by: Tony Novak <tony@getnexar.com>
|
| | |
|
|\ \
| |/
|/| |
Fix mount test, also update ifconfig to work with both common versions.
|
| |
| |
| |
| | |
Signed-off-by: Scott Hain <shain@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Scott Hain <shain@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Scott Hain <shain@chef.io>
|
| |
| |
| |
| |
| |
| | |
output patterns.
Signed-off-by: Scott Hain <shain@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Scott Hain <shain@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Scott Hain <shain@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Scott Hain <shain@chef.io>
|
|/
|
|
|
|
| |
valid value
Signed-off-by: Scott Hain <shain@chef.io>
|
| |
|
|\
| |
| | |
Change a useradd_spec test for RHEL >= 6.8 and >= 7.3
|
|/
|
|
|
|
|
|
| |
RHEL 6.8 and 7.3 ship with a fixed `usermod` command.
Reference: https://access.redhat.com/errata/RHBA-2016:0864
Reference: https://access.redhat.com/errata/RHBA-2016:2322
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
|
| |
|
|\
| |
| | |
replace deprecated Dir.exists? with Dir.exist?
|
| |
| |
| |
| |
| | |
.rvm/gems/ruby-2.4.2/gems/chef-config-13.6.4/lib/chef-config/path_helper.rb:238:
warning: Dir.exists? is a deprecated name, use Dir.exist? instead
|
| | |
|
|\ \
| |/
|/| |
Add ohai_time to minimal_ohai filter
|
|/
|
|
|
|
|
| |
We need ohai_time to get the 'Last Check-In' time on the Chef Server.
There is really no risk to including it.
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
| |
|
|\
| |
| | |
Add 13.6.4 release notes
|
|/
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
|
|\
| |
| | |
Bump openssl and rubygems to latest
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
openssl:
CVE-2017-3736 (OpenSSL advisory) [Moderate severity] 2nd November 2017:
There is a carry propagating bug in the x86_64 Montgomery squaring procedure. No EC algorithms are affected. Analysis suggests that attacks against RSA and DSA as a result of this defect would be very difficult to perform and are not believed likely. Attacks against DH are considered just feasible (although very difficult) because most of the work necessary to deduce information about a private key may be performed offline. The amount of resources required for such an attack would be very significant and likely only accessible to a limited number of attackers. An attacker would additionally need online access to an unpatched system using the target private key in a scenario with persistent DH parameters and a private key that is shared between multiple clients. This only affects processors that support the BMI1, BMI2 and ADX extensions like Intel Broadwell (5th generation) and later or AMD Ryzen. Reported by Google OSS-Fuzz.
CVE-2017-3735 (OpenSSL advisory) [Low severity] 28th August 2017:
While parsing an IPAdressFamily extension in an X.509 certificate, it is possible to do a one-byte overread. This would result in an incorrect text display of the certificate. Reported by Google OSS-Fuzz.
rubygems:
Whitelist classes and symbols that are in loaded YAML. See CVE-2017-0903 for full details. Fix by Aaron Patterson.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
|
| |
|
|\
| |
| | |
Fix the invalid version comparison in apt/dpkg providers
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If we don't have a version installed yet we shouldn't go do a version
comparison with nil. No matter what that's a waste of time and in
dpkg/apt it's going to require shelling out now. Instead just do the
install.
This also adds the same version comparison method to the dpkg resource.
At the moment it doesn't look like this is going to get called since our
upgrade action there is a bit broken (doesn't actually compare
versions), but that's going to get fixed next.
This also cleans up the version comparison to make sure we're
always dealing with strings
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The strings of dpkg versions are more complex than the Gem::Version
and not compatible with it.
Using Gem::Version to compare versions of dpkg packages will cause
mistakes or raise the exeption of 'Malformed version number..'.
please see a simple example:
https://gist.github.com/komazarari/c6b33b29a0e31e9c62bbc2f0b2091647
Prefer to use the dpkg cli.
https://debian-handbook.info/browse/en-US/stable/sect.manipulating-packages-with-dpkg.html
Signed-off-by: Takuto Komazaki <komazarari@gmail.com>
|
|\ \
| |/
|/| |
Add mailmap entries for Tim Smith
|
|/
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
|
|\
| |
| | |
Update the Ohai 13.6 release notes
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
|