| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
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.
|
|\ \
| |/
|/| |
Chef-15: cookbook compiler should parse only .rb files
|
| |
| |
| |
| |
| |
| |
| | |
Fixes #6281 which is a frequently reported issue where md files and swap
files and other junk causes the cookbook compiler to barf.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Update more brand names to current
|
| | |
| | |
| | |
| | |
| | |
| | | |
Update Chef Client and Chef Server brand names to current.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/ /
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Add connstant for Chef Server and improve help messaging
|
| | |
| | |
| | |
| | |
| | |
| | | |
A few formatting fixes as well
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
It's the legacy method. Call it that and maybe people will stop using it.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Makes for much better output:
Valid choices are plaintext kerberos ssl negotiate.
vs
Valid choices are 'plaintext', 'kerberos', 'ssl' and 'negotiate'.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Periods after each sentence
Use the branding better
Fix some weird capitalization
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/ /
| |
| |
| |
| |
| | |
We talk about the server in messages and we need to brand that appropriately
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | |
| | |
| | | |
MsysTechnologiesllc/Vijay/MSYS-1005_knife_status_long_output_runlist
Fixed empty value for knife status long output
|
| | |
| | |
| | |
| | | |
Signed-off-by: Vijay Mali <vijay.mali@msystechnologies.com>
|
| | |
| | |
| | |
| | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \
| | | |
| | | | |
[CHEF-8432] Ensure default protocol is used properly. Use correct 'require' before accessing Net::SSH constants.
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This also updates bootstrap to provide `non_interactive` as an option
to TrainConnector, instead of TrainConnector setting it behind the
scenes. Bootstrap uses non-interactive to ensure that we don't
get net/ssh prompts for password in case of password failure.
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
There are a few related changes here:
* ensure that we always have the requested protocol, and
use the default when we can't otherwise resolve it. This corrects
the first part of CHEF-8432
* This also finishes the work started in a previous branch
that moves the config handling out of TrainConnector::initialize
and into a lazy loader for config.
* Ensure that the baseline configuration contains only things
that will not be picked up when merging user-provided config. This
meant moving :non_interactive out to the caller (bootstrap).
* Removed helpers that weren't helping much.
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
This can live in the tests.
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \
| |/ /
|/| | |
Replace Chef Client by its constant in Chef::Dist
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tensibai <tensibai@iabis.net>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tensibai <tensibai@iabis.net>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tensibai <tensibai@iabis.net>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tensibai <tensibai@iabis.net>
|
| | |
| | |
| | |
| | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \
| | | |
| | | | |
update the ci verify tasks for chef-15
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
we need to bundle install now in both places (ChefDK style of
appbundling means there is no Gemfile.lock here and we do the
install against the somewhat novel-looking Gemfile that kinda
looks like Gemfile.lock).
and on windows side since there is no Gemfile.lock any more we need
to avoid that test.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
| | |
| | |
| | | |
Obvious fix; these changes are the result of automation not creative thinking.
|