| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Convert this to a true property. It required updating the specs a tiny bit since key gets returned as a state value now (as it should).
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
sysctl: Fix ignore_error being ignored
|
| |
| |
| |
| |
| |
| | |
This avoids Chef reporting that the value has changed from false to true. It's not a state property so we don't want that.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
What we're doing here is loading values. Just state that.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove the raise that wasn't needed since we pass -e
Remove the .to_s on the shell_out value since stdout is already a string
Fail hard if we can't shellout for some reason by using shell_out! not
shell_out
Don't create an object out of the shellout result since we don't need
that
Kill the method entirely since it's now only a single line
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
This came into the sysctl cookbook https://github.com/sous-chefs/sysctl/pull/127
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \
| | |
| | | |
prune remotes with git fetch, fixes #3929
|
| | |
| | |
| | |
| | | |
Signed-off-by: Roland Moriz <roland@moriz.de>
|
|\ \ \
| |_|/
|/| | |
pin ffi to avoid el6/el7 bugginess
|
| | |
| | |
| | |
| | | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|/ /
| |
| |
| |
| |
| |
| | |
absolutely unknown what this bug is, but it seems to fix specs
on el6/el7
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
RoboticCheese/roboticcheese/package-locking-nomethoderror
Fix NoMethodError when (un)locking single packages in apt and zypper
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These resources don't coerce `package_name` to an array so would raise an
exception when trying to call `name.all?` when `package_name`, and thus `name`,
was a string.
Signed-off-by: Jonathan Hartman <j@hartman.io>
|
| | | |
|
|\ \ \
| | | |
| | | | |
CLI help text now includes :trace log level
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Stuart Preston <stuart@chef.io>
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Run all tests in CI
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously, we ran only integration tests. But many of our unit tests
are constrained by rootyness and platform, and this means the first time
they get run is during the ChefDK verification stage, which uses the
released Chef build. So we have no way of fixing test failures short of
a new Chef release.
Signed-off-by: Thom May <thom@chef.io>
|
| | | |
|
|\ \ \
| | | |
| | | | |
whitespace fix to make expeditor run
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
trying to sort out weirdness from this morning
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
| | |
| | |
| | |
| | |
| | | |
14.0.210 should be next and should fix expeditor i guess
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\ \ \
| | | |
| | | | |
actually test against cheffs
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit 85653e8f25c19273fde0d8d512db29ef13c2a579.
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit 68e9f4618bc6432023f8327cfce775618806fa9e.
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit 79c8782bbc9ca07898bda6ff9a3a7cdcc39bcdcf.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
goes red because we're really red here
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\ \ \ \
| |/ / /
|/| | | |
removing foodcritic from travis
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
it doesn't depend on chef/chef so this test seems quite pointless.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\ \ \
| | | |
| | | | |
Disable testing of poise in travis for now
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Disable this pending a Chef 14 compatible version of poise
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \ \
| |/ / /
|/| | | |
We no longer build or test on OSX 10.10
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: Scott Hain <shain@chef.io>
|
| | | |
|
|\ \ \
| | | |
| | | | |
[Debian/Ubuntu] Detect init script service levels
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Debian removed the no-op flag from update-rc.d, and so we're now
unlinking services rather than just querying them. Just parsing the
scripts ourselves is much safer.
Fixes: #7119
Signed-off-by: Thom May <thom@chef.io>
|
|\ \ \ \
| | | | |
| | | | | |
Ubuntu 1804 - passing tests and fixed ifconfig provider
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Thom May <thom@chef.io>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Thom May <thom@chef.io>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Remove duplicate knife-windows travis testing
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Not sure how this got in there, but we certainly don't need it.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Remove duplicate source property in the sudo resource
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This was just a typo that came in from the sudo cookbook
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
Avoid conflict with build_powershell_command from powershell_out mixin
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Stuart Preston <stuart@chef.io>
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
Signed-off-by: Stuart Preston <stuart@chef.io>
|
| | | | | |
|