diff options
author | Yulian Kuncheff <yulian@kuncheff.com> | 2014-11-17 16:16:40 -0800 |
---|---|---|
committer | Yulian Kuncheff <yulian@kuncheff.com> | 2014-11-24 09:55:11 -0800 |
commit | 659b4101d2ab1a227b5da34bd285a4c449e01eb7 (patch) | |
tree | 0bcf7a88a781359040a83b49690f1af544e380f1 /lib/chef/knife | |
parent | 8c4e32c4e8ac22394222c718e61b13e3d5ec2ad3 (diff) | |
download | chef-659b4101d2ab1a227b5da34bd285a4c449e01eb7.tar.gz |
Fix installer_version_string to be an array on prerelease parameter.
Diffstat (limited to 'lib/chef/knife')
-rw-r--r-- | lib/chef/knife/core/bootstrap_context.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/core/bootstrap_context.rb b/lib/chef/knife/core/bootstrap_context.rb index e681d7a49b..ce062bdd25 100644 --- a/lib/chef/knife/core/bootstrap_context.rb +++ b/lib/chef/knife/core/bootstrap_context.rb @@ -135,7 +135,7 @@ CONFIG def latest_current_chef_version_string installer_version_string = nil if @config[:prerelease] - installer_version_string = "-p" + installer_version_string = ["-p"] else chef_version_string = if knife_config[:bootstrap_version] knife_config[:bootstrap_version] |