kitchen-rax 0.15.0 → 0.16.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
  SHA1:
3
- metadata.gz: ac4e92e99fe4dcd8256dbe2a0b9dd08a73a3fd15
4
- data.tar.gz: b8eca37cbc451783d904c4fe9984f1c7819f63a7
3
+ metadata.gz: 001f136dd81f0d64ebabeeb93e4c079a93a34ee1
4
+ data.tar.gz: b20a1e43338b4b18da4ff7f39657b1f0e5eea5e9
5
5
  SHA512:
6
- metadata.gz: ac897e2a447bb58172df8268c41656282ea0777dacc2283d0da754c0e39dc7beecc39df7cf105f00f3748fa011fccbf0a76608b06a6198307a9f0e171b3d04b1
7
- data.tar.gz: 8595408c19d315bb8bda9e25d3d94ab5cb92d67d277477172319e86bc616f36f20bf9a8770e905fab7945634f8c73bafcdd448bdd6098fdec9fb2ad7c189abf6
6
+ metadata.gz: 2ed371709df01bebf55614ab777a686a447dfc826048a987cd21421e9974894018a61815f9a0b2e0705ba1de7ed9c3f0ac773e0aa6a2b69637afc05f3add46c0
7
+ data.tar.gz: 07ea4401a996b2d68ea067ab2778208ad20c3fc9129b0cda4c777dce7241183610e3bef5779bd6f606bebeb4c25aa1563135849a24780b3e0f312f5742bc6640
@@ -14,8 +14,12 @@ module Kitchen
14
14
  end
15
15
 
16
16
  def self.create_server(instance, config)
17
- server_def = { name: generate_name(instance), config_drive: true}
18
- [:image_id, :flavor_id, :personality].each do |opt|
17
+ server_def = {
18
+ name: generate_name(instance),
19
+ config_drive: true,
20
+ user_data: File.read(config[:user_data])
21
+ }
22
+ [:image_id, :flavor_id].each do |opt|
19
23
  server_def[opt] = config[opt]
20
24
  end
21
25
  server_def[:no_passwd_lock] = true
@@ -17,7 +17,7 @@ module Kitchen
17
17
  default_config :rackspace_region, 'lon'
18
18
  default_config :wait_for, 600
19
19
  default_config :image_id
20
- default_config :personality
20
+ default_config :user_data
21
21
  default_config :networks, nil
22
22
 
23
23
  default_config :rackspace_username do
@@ -21,6 +21,6 @@ module Kitchen
21
21
  module Driver
22
22
 
23
23
  # Version string for Rax Kitchen driver
24
- RAX_VERSION = "0.15.0"
24
+ RAX_VERSION = "0.16.0"
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-rax
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Kouame