kitchen-oci 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4dd215b5958470a2f202e142bf34fe8240ffda92b5a055eade44c7e4dc7a209
4
- data.tar.gz: 88368ba6aff34472d1f693f926285ec65a442d52f25d2fd86dce82821ee73dd0
3
+ metadata.gz: 4bc7cbe9f2de88d0a366f83d6e59d198deeb8c7950769615a7bcf66585b48981
4
+ data.tar.gz: f915bfb9155b1ce8bbd81651ae6f021baf1ac5723a428776387402d2477a7475
5
5
  SHA512:
6
- metadata.gz: 97d6980612c64c73e3c7ff1962819d6448d7271883c283828401e6f7aca6f497c930c50b946048a2ef5603c2efa1f7cb9142098053c51b9043dabc7910a4aac0
7
- data.tar.gz: c5509ac799c5fe2436f29dbbef0ffc1e27a7fdbf157fcba518df2847f50793cd0ec34b892b5e8fc2f9f91a1e84ce5649f0930e24176fbec4b0db4bddbe133f3e
6
+ metadata.gz: f2266a11aa6e6bdc7afa12c77631fb3b6a8f3f3e7b628d146df02befca8a45c7430420d614c2105254aeee7469db581323436f3c99fa8a8d9c2a5ce1f5867cf6
7
+ data.tar.gz: 4a690cd90112b7c16f291c06fe72908d12fe6ada7c56cd513301dd9cb54663eabf031543da5d712b6ce518262625074d9f0c8b520e32c3719815ff77b70c31be
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 1.6.0 WinRM password option
2
+ - Added option to set winrm password, instead of randomly generating one
3
+
1
4
  ## 1.5.0 Windows support
2
5
 
3
6
  - Added cloud-init support.
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
 
@@ -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
@@ -20,6 +20,6 @@
20
20
  module Kitchen
21
21
  module Driver
22
22
  # Version string for Oracle OCI Kitchen driver
23
- OCI_VERSION = '1.5.0'
23
+ OCI_VERSION = '1.6.0'
24
24
  end
25
25
  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.5.0
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-06 00:00:00.000000000 Z
11
+ date: 2019-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oci