knife-brightbox 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -104,6 +104,13 @@ class Chef
104
104
  :short => "-i IDENTITY_FILE",
105
105
  :long => "--identity-file IDENTITY_FILE",
106
106
  :description => "The SSH identity file used for authentication"
107
+
108
+ option :no_host_key_verify,
109
+ :long => "--no-host-key-verify",
110
+ :description => "Disable host key verification",
111
+ :boolean => true,
112
+ :default => false
113
+
107
114
 
108
115
 
109
116
  def tcp_test_ssh(hostname)
@@ -199,6 +206,7 @@ class Chef
199
206
  bootstrap.config[:use_sudo] = true unless config[:ssh_user] == 'root'
200
207
  bootstrap.config[:template_file] = locate_config_value(:template_file)
201
208
  bootstrap.config[:environment] = config[:environment]
209
+ bootstrap.config[:no_host_key_verify] = config[:no_host_key_verify]
202
210
  bootstrap
203
211
  end
204
212
 
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Brightbox
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  MAJOR, MINOR, TINY = VERSION.split('.')
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-brightbox
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sergio Rubio