| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Expand the path in knife cookbook upload errors
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
WARNING: Could not find any cookbooks in your cookbook path: '/Users/tsmith/dev/work/chef'. Use --cookbook-path to specify the desired path.
instead of:
WARNING: Could not find any cookbooks in your cookbook path: .. Use --cookbook-path to specify the desired path.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/ /
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Lazy load as many knife deps as possible
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Now that knife doesn't depend on this it's not loaded out of the box by
our requirement on chef
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This gets us a small speedup on my mac, and probably a larger speedup on
Windows where the loading hurts more.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \
| |/ /
|/| | |
Improve welcome text in chef-shell
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Get rid of the old Ohai meme reference
Link to the specific doc on how to use the shell
Give the version of chef-shell and don't mention Chef Infra Client
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
It's Chef Infra Client mode vs. Chef Infra Solo vs. Standalone
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \
| |/ /
|/| | |
Add Debian 10 (Buster) Tester
|
|/ /
| |
| |
| | |
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Update FFI and pin win32-service to 2.1.5+
|
|/ /
| |
| |
| |
| |
| | |
win32-service 2.1.5 resolves deprecation warnings introduced in the latest FFI releases
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Pull the windows Ruby installer from S3 for tests
|
|/ /
| |
| |
| |
| |
| |
| | |
This should prevent failures when we get throttled pulling it from
Github
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Swap the methods and the aliases in the chef-utils platforms
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|