kitchen-oci 1.5.0 → 1.6.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +1 -0
- data/lib/kitchen/driver/oci.rb +2 -1
- data/lib/kitchen/driver/oci_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4bc7cbe9f2de88d0a366f83d6e59d198deeb8c7950769615a7bcf66585b48981
|
|
4
|
+
data.tar.gz: f915bfb9155b1ce8bbd81651ae6f021baf1ac5723a428776387402d2477a7475
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f2266a11aa6e6bdc7afa12c77631fb3b6a8f3f3e7b628d146df02befca8a45c7430420d614c2105254aeee7469db581323436f3c99fa8a8d9c2a5ce1f5867cf6
|
|
7
|
+
data.tar.gz: 4a690cd90112b7c16f291c06fe72908d12fe6ada7c56cd513301dd9cb54663eabf031543da5d712b6ce518262625074d9f0c8b520e32c3719815ff77b70c31be
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -66,6 +66,7 @@ Optional settings for WinRM support in Windows:
|
|
|
66
66
|
|
|
67
67
|
- setup\_winrm, Inject Windows powershell to set password and enable WinRM, default false.
|
|
68
68
|
- winrm\_username, Used to set the WinRM transport username, defaults to 'opc'.
|
|
69
|
+
- winrm\_password, Set the winrm password. By default a randomly generated password will be used, so don't set this unless you have to. Beware that the password must meet the Windows password complexity requirements otherwise the bootstrapping procedure will fail silently and Kitchen will eventually time out.
|
|
69
70
|
|
|
70
71
|
The use\_private\_ip influences whether the public or private IP will be used by Kitchen to connect to the instance. If it is set to false (the default) then it will connect to the public IP, otherwise it'll use the private IP.
|
|
71
72
|
|
data/lib/kitchen/driver/oci.rb
CHANGED
|
@@ -46,13 +46,14 @@ module Kitchen
|
|
|
46
46
|
default_config :user_data, []
|
|
47
47
|
default_config :setup_winrm, false
|
|
48
48
|
default_config :winrm_user, 'opc'
|
|
49
|
+
default_config :winrm_password, nil
|
|
49
50
|
|
|
50
51
|
def process_windows_options(state)
|
|
51
52
|
state[:username] = config[:winrm_user] if config[:setup_winrm]
|
|
52
53
|
if config[:setup_winrm] == true &&
|
|
53
54
|
config[:password].nil? &&
|
|
54
55
|
state[:password].nil?
|
|
55
|
-
state[:password] = random_password
|
|
56
|
+
state[:password] = config[:winrm_password] || random_password
|
|
56
57
|
end
|
|
57
58
|
state
|
|
58
59
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kitchen-oci
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stephen Pearson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-03-
|
|
11
|
+
date: 2019-03-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: oci
|