summaryrefslogtreecommitdiff
path: root/lib/chef/knife/bootstrap.rb
Commit message (Collapse)AuthorAgeFilesLines
* Make sure that :distro is evaluated later than :bootstrap_template and ↵Serdar Sutay2014-11-071-7/+8
| | | | :template_file in order for knife cloud plugins to work corectly with Chef 12.
* Removed spec tests related to bootstrap config optionssiddheshwar-more2014-10-111-0/+2
|
* Changes to fix review commentssiddheshwar-more2014-10-101-6/+6
|
* Fixed issue related to precedence of knife config optionssiddheshwar-more2014-10-091-6/+6
|
* Fixing bad method definitiontyler-ball2014-09-291-1/+1
|
* Finishing UX spec - storing CL options in different config values so we can ↵tyler-ball2014-09-291-12/+4
| | | | correctly validate, updating bootstrap to use shared module
* Use existing Chef::Config values for verify_api_cert and ssl_verify_mode ↵Serdar Sutay2014-08-261-10/+8
| | | | during bootstrap.
* Add --ssl-verify-mode and --[no-]verify-api-cert options.Claire McQuin2014-08-261-0/+18
|
* Fixes based on PR comments.Serdar Sutay2014-08-261-13/+21
|
* Specs for bootstrap cleanup.Serdar Sutay2014-08-261-15/+8
|
* Fixes based on the PR comments.Serdar Sutay2014-08-261-1/+8
|
* Remove encrypted_data_bag_secret distribution via Chef::Config and enable ↵Serdar Sutay2014-08-261-23/+0
| | | | distributing it via knife[:secret] and knife[:secret_file].
* Deprecate --distro and --template-file options in favor of --template.Serdar Sutay2014-08-261-22/+39
|
* Remove the bootstrap templates that does chef install via gems.Serdar Sutay2014-08-261-4/+0
|
* remove JSON gem usageLamont Granquist2014-08-111-2/+2
| | | | | | | | | should fully convert to using ffi-yajl there are still issues with JSON gem monkeypatching interacting with chef-zero and the spec tests so we keep the requires here for the json gem and the ffi_yajl/json_gem here. when ohai and chef-zero are fixed, we an just require ffi_yajl.
* Merge pull request #1364 from opscode/bootstrap-winrm-warningClaire McQuin2014-06-091-0/+2
|\ | | | | Warning if target hostname resembles "knife bootstrap windows winrm" command.
| * .first instead of .includecuriositycasualty2014-04-231-1/+1
| |
| * warning if host resembles winrm commandcuriositycasualty2014-04-081-0/+2
| |
* | add knife options for chef-full customizationClaire McQuin2014-05-081-0/+20
| |
* | Don't eat the authentication failed exception on bootstrapHongbin Lu2014-03-281-1/+3
|/
* Make the bootstrap messages more user friendly.sersut2014-03-101-1/+1
|
* this option should not be used by customersjamescott2013-11-061-1/+1
| | | because it's used internally to test bootstrap operations only
* [CHEF-4509] read `secret` `secret_file` from knife hashSeth Chisamore2013-10-171-2/+4
| | | | | | | | | | The new config values for specifying a raw secret or path to a secret file were being incorrectly read from the top-level of the `knife.rb` config keys. This commit fixes things to correctly read from the knife hash as documented here: http://docs.opscode.com/config_rb_knife.html https://github.com/opscode/chef/blob/11.6.0/lib/chef/knife/bootstrap.rb#L262
* Single ticks are required to escape passwords with special characters in themAdam DePue2013-10-101-1/+1
|
* [CHEF-3609] Support no_proxy for first chef-client runSean Horn2013-10-101-0/+5
|
* Also allow enabling agent forwarding from knife configDecklin Foster2013-05-231-1/+1
|
* Add -A option to knife ssh and knife bootstrapDecklin Foster2013-05-231-0/+7
|
* [CHEF-4011] improve deprecation messageSeth Chisamore2013-04-111-2/+8
| | | | | | * Add a reference to CHEF-4011 for users who want more information on the deprecation. * Give users a pointer that `knife[:secret_file]` may still be used for previous behavior.
* [CHEF-4011] add secret in knife.rb deprecation warningSeth Chisamore2013-04-111-0/+17
| | | | | This warning should only be displayed if a user has an 'encrypted_data_bag_secret' entry in their knife.rb file.
* [CHEF-4011] `--secret` and `--secret-file` options for `knife bootstrap`Seth Chisamore2013-04-111-0/+9
| | | | | | | | | This commit adds new CLI options to `knife bootstrap` for specifying encrypted data bag secret key (actual string or file) at node bootstrap time. This approach is more explicit than the previous approach of reading the path to the secret key from the `encrypted_data_bag_secret` value in the knife.rb file. For backward compatibility we will still attempt to load a key from Chef::Config[:encrypted_data_bag_secret].
* Enable password to sudo from stdin for knife ssh bootstrapChirag Jog2013-03-121-2/+7
|
* Merge branch '10-stable' into integrate-chef-10-18-0danielsdeleo2013-01-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitattributes chef-expander/Rakefile chef-expander/lib/chef/expander/version.rb chef-server-api/Rakefile chef-server-api/chef-server-api.gemspec chef-server-api/lib/chef-server-api/version.rb chef-server-webui/Rakefile chef-server-webui/chef-server-webui.gemspec chef-server-webui/lib/chef-server-webui/version.rb chef-server/Rakefile chef-server/lib/chef-server/version.rb chef-solr/lib/chef/solr/version.rb chef.gemspec chef/Rakefile chef/spec/support/platform_helpers.rb chef/spec/support/shared/functional/file_resource.rb chef/spec/unit/api_client_spec.rb chef/spec/unit/provider/directory_spec.rb ci/jenkins_run_tests.bat ci/jenkins_run_tests.sh distro/common/html/chef-client.8.html distro/common/html/chef-expander.8.html distro/common/html/chef-expanderctl.8.html distro/common/html/chef-server-webui.8.html distro/common/html/chef-server.8.html distro/common/html/chef-shell.1.html distro/common/html/chef-solo.8.html distro/common/html/chef-solr.8.html distro/common/html/knife-bootstrap.1.html distro/common/html/knife-client.1.html distro/common/html/knife-configure.1.html distro/common/html/knife-cookbook-site.1.html distro/common/html/knife-cookbook.1.html distro/common/html/knife-data-bag.1.html distro/common/html/knife-environment.1.html distro/common/html/knife-exec.1.html distro/common/html/knife-index.1.html distro/common/html/knife-node.1.html distro/common/html/knife-role.1.html distro/common/html/knife-search.1.html distro/common/html/knife-ssh.1.html distro/common/html/knife-status.1.html distro/common/html/knife-tag.1.html distro/common/html/knife.1.html distro/common/man/man1/chef-shell.1 distro/common/man/man1/knife-bootstrap.1 distro/common/man/man1/knife-client.1 distro/common/man/man1/knife-configure.1 distro/common/man/man1/knife-cookbook-site.1 distro/common/man/man1/knife-cookbook.1 distro/common/man/man1/knife-data-bag.1 distro/common/man/man1/knife-environment.1 distro/common/man/man1/knife-exec.1 distro/common/man/man1/knife-index.1 distro/common/man/man1/knife-node.1 distro/common/man/man1/knife-role.1 distro/common/man/man1/knife-search.1 distro/common/man/man1/knife-ssh.1 distro/common/man/man1/knife-status.1 distro/common/man/man1/knife-tag.1 distro/common/man/man1/knife.1 distro/common/man/man8/chef-client.8 distro/common/man/man8/chef-expander.8 distro/common/man/man8/chef-expanderctl.8 distro/common/man/man8/chef-server-webui.8 distro/common/man/man8/chef-server.8 distro/common/man/man8/chef-solo.8 distro/common/man/man8/chef-solr.8 lib/chef/api_client.rb lib/chef/rest.rb lib/chef/version.rb spec/functional/knife/ssh_spec.rb spec/functional/resource/cookbook_file_spec.rb spec/spec_helper.rb spec/stress/win32/security_spec.rb spec/support/shared/functional/securable_resource.rb spec/unit/config_spec.rb spec/unit/knife/ssh_spec.rb
* Merge branch '10-stable'Bryan McLellan2012-11-201-1/+0
| | | | | | | | | | | | | | | | | Conflicts: chef-expander/lib/chef/expander/version.rb chef-server-api/lib/chef-server-api/version.rb chef-server-webui/lib/chef-server-webui/version.rb chef-server/lib/chef-server/version.rb chef-solr/lib/chef/solr/version.rb chef/lib/chef/encrypted_data_bag_item.rb chef/spec/unit/encrypted_data_bag_item_spec.rb ci/jenkins_run_tests.bat ci/jenkins_run_tests.sh lib/chef/provider.rb spec/unit/knife/data_bag_from_file_spec.rb spec/unit/provider/remote_directory_spec.rb spec/unit/provider/route_spec.rb
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+234
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!