| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|
|
|
|
|
| |
It's 3 times for the max now.
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.
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|
|
|
| |
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.
|
|\
| |
| | |
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.
|
|/
|
|
|
|
| |
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.
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|
|
|
| |
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>
|
|
|
|
| |
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.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Expand the path in knife cookbook upload errors
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Add a default_description in windows_task
|