| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Avoid deprecation warnings. Also remove the monkeypatch that provided
HTTPClientException on older Ruby releases since we're 2.6+ now and we
don't need this.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Relax the cheffish constraint
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.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.
|
|\ \
| | |
| | | |
Update libarchive to 3.4.2 and nokogiri to 1.10.8
|
| |/
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \
| |/
|/| |
Use require_relative within the specs
|
|/
|
|
|
|
| |
Simplify how we include the spec_helper via the new cookstyle rule.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
windows_ad_join: Fix joining specific domains when domain trusts are involved
|
| |
| |
| |
| | |
Signed-off-by: srb3 <sbrown@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: srb3 <sbrown@chef.io>
|
|/
|
|
| |
Signed-off-by: srb3 <sbrown@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
Add examples to various resources
|
| |
| |
| |
| |
| |
| | |
This let's us get these onto the docs site as well.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| |/
|/| |
Add chef_vault_secret resource from chef-vault cookbook
|
| |
| |
| |
| |
| |
| | |
Pulled from the cookbook. I also sprinkled some chef-utils usage on the existing test.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/
|
|
|
|
| |
Move this common resource into Chef itself to avoid the need to include this cookbook.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Bump all deps to the latest
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| |/
|/| |
Add missing require_relative in chef-utils
|
|/
|
|
|
|
| |
We missed this one.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| |
| |
| | |
MsysTechnologiesllc/Kapil/MSYS-1249_file_cache_path_and_file_backup_path_is_not_reflecting_in_client.rb
Allow setting file_cache_path and file_backup_path value in client.rb during bootstrap
|
| |
| |
| |
| | |
Signed-off-by: Kapil chouhan <kapil.chouhan@msystechnologies.com>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|/
|
|
|
|
|
|
|
|
|
| |
This eliminates one thing that people need to memorize
The ohai_hint and hostname resources still default to true
This also forces the resource to `action :nothing` in the
converge phase automatically, which is a behavior which has
been missed up until now.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
|
|
|
|
|
|
| |
I standardized this and it broke chef/chef tests
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
update syntax of `update-rc.d` commands in enable & disable actions
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Legacy syntax is required to support start & stop priorities on very old
systems running SysVinit. If an old enough version is detected Chef will
prefer legacy syntax, otherwise it will use modern syntax and the
priorities will be for the most part ignored.
See https://lists.debian.org/debian-devel/2013/05/msg01109.html for
additional context.
To use legacy syntax sysv-rc package must be installed and it's version
must be < 2.88. If the package is not installed at all then update-rc.d
is coming from 'init-system-helpers' package and it's at least
2.88dsf-59.2 so it supports only modern syntax.
Note that start|stop syntax has been dropped in 2.88dsf-42 and older
2.88 versions could work, but the email linked above indicates it didn't
do anything.
Signed-off-by: Rob Ulejczyk <rulejczyk@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previous implementation was built for an outdated version of
`update-rc.d` and it used commands that no longer work.
The `stop` and `start` commands were removed in 2.88.dsf-42 [1]:
```
* sysv-rc:
- update-rc.d no longer supports non-dependency-based boot.
+ Remove non-insserv codepaths.
+ Warn if the start or stop actions are used.
+ Skip runlevel mismatch warnings if default action is used
(no arguments to validate).
+ Update manual page to remove start and stop actions, plus
manual setting of boot sequence ordering; note that start
and stop are no longer supported. Closes: #606505.
```
and has been since ported to all currently supported Debian
distributions (including Jessie, released in 2015).
Both `start` and `stop` commands now effectively call `defaults`.
As a result of this `action_disable` did not disable a service, it would
enable it instead. Chef would execute the following commands on disable:
```
/usr/sbin/update-rc.d -f <service_name> remove
/usr/sbin/update-rc.d -f <service_name> stop 80 2 3 4 5 .
```
But `update-rc.d` would effectively run:
```
/usr/sbin/update-rc.d -f <service_name> remove
/usr/sbin/update-rc.d <service_name> defaults
```
And the service gets enabled instead.
With changes in this commit Chef will effectively run the following
commands:
```
/usr/sbin/update-rc.d -f <service_name> remove
/usr/sbin/update-rc.d <service_name> defaults
/usr/sbin/update-rc.d <service_name> disable
```
The service is now disabled, as expected.
Additionally `priority` support has been dropped entirely from code as
it's not supported by `update-rc.d` either.
It's potentially a breaking change on a very outdated distributions and
it could be worked around with additional `if/else` branches, but given
all non-EOLed distros have up-to-date version of `update-rc.d` available
it didn't feel worth the complexity.
[1] https://launchpad.net/debian/+source/sysvinit/2.88dsf-42
Signed-off-by: Rob Ulejczyk <rulejczyk@gmail.com>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Add notify_group resource
|
|/ /
| |
| |
| |
| |
| |
| | |
This can be used to replace the abuse of the log resource for
grouping notifications.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Update docker? help comment to show it's since 12.11
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We've had this in chef/chef since 12.11. True it's only been in
chef-utils since 15.5. This led a community member to believe they
couldn't use it since they required Chef 13+. We should make sure folks
know they can use this helper.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \
| |/ /
|/| | |
Bump inspec-core to 4.18.85
|
|/ /
| |
| |
| |
| |
| | |
This pull request was triggered automatically via Expeditor when inspec-core 4.18.85 was promoted to Rubygems.
This change falls under the obvious fix policy so no Developer Certificate of Origin (DCO) sign-off is required.
|