| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Most of the knife.rb mentions have been updated and the docs have been updated already. Mention both since every existing user is only familiar with knfie.rb.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
Accept-no-persist the license in the Rakefile
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We should probably push all the travis tests through the rakefile at
some point and centralize this, and make rake the entrypoint which
sets the env var, but we'd need rake tasks for the external and
kitchen tests.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|/
|
|
| |
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.
|
|\
| |
| | |
Initial target_mode implementation
|
| |
| |
| |
| | |
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
| |
| |
| |
| | |
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
| |
| |
| |
| | |
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
| |
| |
| |
| | |
Signed-off-by: Bryan McLellan <btm@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Bryan McLellan <btm@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Bryan McLellan <btm@chef.io>
|
|\ \
| | |
| | | |
Add logic to require acceptannce of the Chef license to run the client
|
| | |
| | |
| | |
| | |
| | |
| | | |
unstable -> current
Signed-off-by: tyler-ball <tball@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mark Anderson <mark@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: tyler-ball <tball@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mark Anderson <mark@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: tyler-ball <tball@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Because in order to run `chef-client` on the bootstrapped node the user
needs to have accepted the licenses locally. Right now we have commented
out this code because we will enforce it in a different PR.
Signed-off-by: tyler-ball <tball@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: tyler-ball <tball@chef.io>
|
| | |
| | |
| | |
| | |
| | | |
Co-Authored-By: tyler-ball <tball@chef.io>
Signed-off-by: tyler-ball <tball@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
noise
Signed-off-by: Mark Anderson <mark@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: tyler-ball <tball@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: tyler-ball <tball@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This adds a new feature to chef-client where users must accept the
EULA before using the product. Users can accept the license by
passing '--chef-license accept', setting ENV[CHEF_LICENSE]=accept or by
running 'chef-client' and following the interactive prompt.
Signed-off-by: tyler-ball <tball@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mark Anderson <mark@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mark Anderson <mark@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \
| |_|/
|/| | |
[CHEF-8423] Upgrade train-core to 2.1.0 for windows detection over ssh
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This corrects CHEF-4823 by upgrading train-core to a version
with support for detecting windows over ssh.
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \
| |/ /
|/| | |
Move more DSL helpers into universal so they're available everywhere
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Move the data_query, powershell and registry_helper DSLs up to universal.
Move the `tagged?` helper into data_query for organizational purposes.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
| | |
| | |
| | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \
| | | |
| | | | |
Restore bootstrap pre-release support
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Updates BootstrapContext and WindowsBootstrapContext to
expect a 'channel' config value instead of a 'prelease' value.
This removes the old behavior of inferring pre-release (current) from
the presence of a fourth version number in the version string (eg
1.2.3.pre) - that was specific to gem installs, and gem installs are not
used in bootstrap.
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This adds support for deprecating a boolean flag
into a non-boolean value, and uses it to make `--prerelease`
deprecated in favor of `--channel current`. By default,
`channel` is `stable`.
Separately, all deprecated options are now configured
to display at the end of the options list, instead of mixed into
the non-deprecated list.
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If a value comes from CLI defaults, it will now return :cli_default.
This supports verifying deprecations when we need to know
if a value was actually supplied from the CLI, or if it was
defaulted from CLI options.
Since we have all of the original sources still available,
this also makes it so that we don't keep a separate hash
for tracking config source - we're just checking in the original
config sources in order that matches merge priority.
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It was originally removed after discussion in community slack,
but it turns out to have a little more utility than we thought.
When enabled, it will cause the package to be downloaded from
the `current` channel.
Option description has been updated from 'install prerelease gem'
to 'install from current channel'.
This commit otherwise restores the original behavior and adds some tests.
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \
| | | |
| | | | |
Fix for cron resource get confused by environment/property mismatch
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
can also be specified as a `property`
- Added unit test cases
- Ensured chefstyle
- Added a warning in case user is using a `environment` for an entry that can also be specified as a `property`
- Revert changes in order to pass chefstyle
- Added a warning in case user is using a `environment` for an entry that can also be specified as a `property`
- Added these changes in cron_different? method
- Added unit test cases
- Added some changes in cron.rb
- It now throws error if user passes both environment with the {:SHELL, :HOME, :PATH, :MAILTO} and these properties itself.
- It maintains idempotency.
- Added Rspecs for this case.
- Ensured chef-style.
Signed-off-by: vijaymmali1990 <vijay.mali@msystechnologies.com>
|
| | |
| | |
| | |
| | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \
| |_|/
|/| | |
fix knife diff exceptions
|
| |/
| |
| |
| |
| |
| | |
closes #4189
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|