-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge knife-windows into chef #9354
Commits on Sep 26, 2020
-
Ship the knife-windows plugin directly in Chef. Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for 11699a3 - Browse repository at this point
Copy the full SHA 11699a3View commit details -
Fold KnifeWindowsBase into WinrmCommandSharedFunctions
It only had a single method and that method was only still used in WinrmCommandSharedFunctions Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for 6736185 - Browse repository at this point
Copy the full SHA 6736185View commit details -
Sync over the updates made for 16.x
Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for 31fae10 - Browse repository at this point
Copy the full SHA 31fae10View commit details -
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
Configuration menu - View commit details
-
Copy full SHA for 3a8c7b3 - Browse repository at this point
Copy the full SHA 3a8c7b3View commit details -
Update lib/chef/knife/windows_cert_generate.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for 258275f - Browse repository at this point
Copy the full SHA 258275fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bba483 - Browse repository at this point
Copy the full SHA 6bba483View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dbe622 - Browse repository at this point
Copy the full SHA 5dbe622View commit details -
Avoid nesting and use newer openssl format
Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for 133a902 - Browse repository at this point
Copy the full SHA 133a902View commit details -
Convert the plugins to use chef-utils
Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for 9a3e543 - Browse repository at this point
Copy the full SHA 9a3e543View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41671b8 - Browse repository at this point
Copy the full SHA 41671b8View commit details -
Remove the deprecated interactive mode
Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for 8b1d1c3 - Browse repository at this point
Copy the full SHA 8b1d1c3View commit details -
Fix the early exits on non-windows hosts
Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for 30e7e36 - Browse repository at this point
Copy the full SHA 30e7e36View commit details -
Use our built in prompt tools to handle password input
Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for 3aec7f2 - Browse repository at this point
Copy the full SHA 3aec7f2View commit details -
Improve how we prompt for passwords and don't mutate config
Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for f41f626 - Browse repository at this point
Copy the full SHA f41f626View commit details -
I think this was from the old password prompt Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for ae8be50 - Browse repository at this point
Copy the full SHA ae8be50View commit details -
Remove another stdout/stderr sync
Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for eeac46b - Browse repository at this point
Copy the full SHA eeac46bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18c516f - Browse repository at this point
Copy the full SHA 18c516fView commit details -
Avoid setting a variable we don't need to
Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for 53e4607 - Browse repository at this point
Copy the full SHA 53e4607View commit details -
Avoiding having to convert these to ints later
We still need to .to_i the values in the codebase since the user can enter anything, but we should set a string as the default only to turn it into an int later. Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for a38cb6e - Browse repository at this point
Copy the full SHA a38cb6eView commit details -
Don't mutate the config by setting a password
Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for 4ff23b4 - Browse repository at this point
Copy the full SHA 4ff23b4View commit details -
Simplify the check for existing certs on disk
One glob is all we need here. Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for 0856d5e - Browse repository at this point
Copy the full SHA 0856d5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec51b88 - Browse repository at this point
Copy the full SHA ec51b88View commit details -
Add a return for the passphrase
Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for 628b324 - Browse repository at this point
Copy the full SHA 628b324View commit details -
Use ui.fatal! to format errors with color and exit 1
Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for c3b2dc2 - Browse repository at this point
Copy the full SHA c3b2dc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd5dc2f - Browse repository at this point
Copy the full SHA cd5dc2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3105b67 - Browse repository at this point
Copy the full SHA 3105b67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c857db - Browse repository at this point
Copy the full SHA 3c857dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for bef8b93 - Browse repository at this point
Copy the full SHA bef8b93View commit details -
Update lib/chef/knife/winrm.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for 1ea84ef - Browse repository at this point
Copy the full SHA 1ea84efView commit details -
Update lib/chef/knife/winrm_base.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for 56bc896 - Browse repository at this point
Copy the full SHA 56bc896View commit details -
Update lib/chef/knife/winrm_knife_base.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for 54bf0e9 - Browse repository at this point
Copy the full SHA 54bf0e9View commit details -
Update lib/chef/knife/winrm_knife_base.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for 9525fe8 - Browse repository at this point
Copy the full SHA 9525fe8View commit details -
Update lib/chef/knife/winrm_knife_base.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for da24159 - Browse repository at this point
Copy the full SHA da24159View commit details -
Update lib/chef/knife/winrm_knife_base.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for 95275a2 - Browse repository at this point
Copy the full SHA 95275a2View commit details -
Update lib/chef/knife/winrm_knife_base.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for 0679244 - Browse repository at this point
Copy the full SHA 0679244View commit details -
Update lib/chef/knife/winrm_knife_base.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for 3820fee - Browse repository at this point
Copy the full SHA 3820feeView commit details -
Remove odd require on other plugins within the winrm plugin
Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for 6c63310 - Browse repository at this point
Copy the full SHA 6c63310View commit details -
Rename confusing config check method
' Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for 66e3a6b - Browse repository at this point
Copy the full SHA 66e3a6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e773aa5 - Browse repository at this point
Copy the full SHA e773aa5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d24d1d9 - Browse repository at this point
Copy the full SHA d24d1d9View commit details -
Update lib/chef/knife/winrm_session.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for e1fb23e - Browse repository at this point
Copy the full SHA e1fb23eView commit details -
Simplify code / avoid mutating config
Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for 2e1ba1c - Browse repository at this point
Copy the full SHA 2e1ba1cView commit details -
Simplify fetching correct winrm user
Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for 4a29e9a - Browse repository at this point
Copy the full SHA 4a29e9aView commit details -
Rename methods to remove resolve_
Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for 6f17d71 - Browse repository at this point
Copy the full SHA 6f17d71View commit details -
Update spec/unit/knife/windows_cert_install_spec.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for d7ca400 - Browse repository at this point
Copy the full SHA d7ca400View commit details -
Update spec/unit/knife/windows_cert_install_spec.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for 2eb7e83 - Browse repository at this point
Copy the full SHA 2eb7e83View commit details -
Update lib/chef/knife/windows_cert_generate.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for 8ad14c3 - Browse repository at this point
Copy the full SHA 8ad14c3View commit details -
Update lib/chef/knife/wsman_test.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for 6bb5d6f - Browse repository at this point
Copy the full SHA 6bb5d6fView commit details -
Update lib/chef/knife/wsman_test.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for 1a8d2bc - Browse repository at this point
Copy the full SHA 1a8d2bcView commit details -
Update lib/chef/knife/winrm_shared_options.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for 7550705 - Browse repository at this point
Copy the full SHA 7550705View commit details -
Update spec/unit/knife/windows_cert_generate_spec.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for 20674d7 - Browse repository at this point
Copy the full SHA 20674d7View commit details -
Update spec/unit/knife/winrm_session_spec.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for f3ae9d2 - Browse repository at this point
Copy the full SHA f3ae9d2View commit details -
Update spec/unit/knife/winrm_spec.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for f33f841 - Browse repository at this point
Copy the full SHA f33f841View commit details -
Update spec/unit/knife/wsman_test_spec.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Configuration menu - View commit details
-
Copy full SHA for 8c6b93e - Browse repository at this point
Copy the full SHA 8c6b93eView commit details -
Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for e75d9d9 - Browse repository at this point
Copy the full SHA e75d9d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34d7a7c - Browse repository at this point
Copy the full SHA 34d7a7cView commit details -
Fix cspell and chefstyle errors
Signed-off-by: Tim Smith <tsmith@chef.io>
Configuration menu - View commit details
-
Copy full SHA for 9e6a6f1 - Browse repository at this point
Copy the full SHA 9e6a6f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4b1675 - Browse repository at this point
Copy the full SHA a4b1675View commit details