| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | | |
Co-Authored-By: marcparadise <marcparadise@users.noreply.github.com>
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | | |
Co-Authored-By: marcparadise <marcparadise@users.noreply.github.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
* document why chef_core/text is included at the top level.
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
THis improves deprecation handling by not trying to infer
old opts/long string, and correctly handles setting the boolean flag
on deprecated options.
This also fixes references to :password to be in
line with the option name, :connection_password.
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The minimum available version of Chef Client for
bootstrap is 12.20; FIPS support was added in 12.8. This change
removes the minimum chef version check for fips in the client.rb
generated by bootstrap.
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This adds a lightweight deprecation mechanism
in order to warn the human that they're using deprecated flags,
and to continue to allow Bootstrap to work even if that happens.
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Subclasses can use this to determine where a given
key has received its value from.
This allows subclasses to handle deprecated CLI options
that may still be valid in Chef config by determining
if the option was provided on the CLI or via Chef::Config
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This was unnecessary since this class does not refer
to Bootstrap, and it was causing warning messages at runtime
about Bootstrap constants being defined twice.
This didn't happen previously because Bootstrap did not
have any constants defined until after the conversion to Train.
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Rubygems monkeypatches YAML for backwards compatibility,
but this is not compatible with r18n library's usage;
add the require here to ensure that it's loaded
before rubygems, allowing tests that refer to this file to run in
isolation.
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make bootstrap use train via chef_core/TargetHost
This commit implements usage of TargetHost instead of
knife_ssh. TargetHost is a platform-independent representation
of a Train connection. It abstracts common operations
(such as file upload/download, permissions, temp directories,
command executation, etc) and connection error handling.
Moving to TargetHost and train gives us the ability to
execute commands on the bootstrap target; instead of
running sh -c 'long-command-string-containing-secrets', we'll
now upload the bootstrap script to a temporary directory on the
bootstrap target and execute it there.
Incorporating WinRM support directly (allowing core support
for Windows bootstraps, without the knife-windows plugin)
will follow.
THis also improves unit test coverage of the bootstrap module,
and clarifies functional versus behavior tests in that space
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Move ed25519 gems into omnibus
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
We had to move this out of train as they were causing installation failures for inspec. This change makes sure we get them into our omnibus package.
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.
|
|\ \
| | |
| | | |
Implement new owner/review structure + expand dev docs
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mary Jinglewski <mjinglewski@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>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mary Jinglewski <mjinglewski@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>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Audit mode is no more
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mary Jinglewski <mjinglewski@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>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|