kitchen-openstack 2.0.0.dev.3 → 2.0.0.dev.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66008f6399b2f88b79228a8e4bdcb0d4d66e1e23
4
- data.tar.gz: 025e776aeb603cf6e5c461eec6af7ba9517f2f35
3
+ metadata.gz: bb7b43675960e898cdfe9891c2c40f291ef192d2
4
+ data.tar.gz: 072ccf848f095397f93eb3f49757ad33c5d998fe
5
5
  SHA512:
6
- metadata.gz: 6f8887259c413711e78cac4bb47c364c4d234601a30b76c93a18dd1961904fee17748f61ef9e9a70a3248405372e4ac0e266f5310c85b41c793f12b2ee7792d6
7
- data.tar.gz: 2b861ee3fb1d09f3e74e5b38e57b284277a300fb752c5456aba843225da1f55b9e0f85907080f5e1eae7f1090111600a148c1f892f9b8d5aec00656236b4681b
6
+ metadata.gz: 932432ed6de594fe189921d70ea1f50237becf93141fcea1302dd3d369dc0ef59b2304e2dd06d5ea18bdf911323f23fe83efc04ef9af3494854e6d96f80d0bcb
7
+ data.tar.gz: 3a1722bb3f62cdac4f73f3f7faee7c6fba1c6b4fb103a416c4c1498258302ec28266efbb1f458bf5c2eeb38455549d8fd5d457cfe57970bd0376318d0491b1fa
@@ -9,6 +9,8 @@
9
9
  * Don't create instance if name is already created [#100][] - from [@dpetzel][]
10
10
  * Load openstack_version for plugin_version [#99][] - from [@BobbyRyterski][]
11
11
  * Support all Fog OpenStack options [#98][] - from [@BobbyRyterski][]
12
+ * Fix for ohai running hint not running as root [#104][] - from [@spion06][]
13
+ * Updates to the readme [#102][] - from [@BobbyRyterski][]
12
14
 
13
15
  # 1.8.1 / 2015-07-22
14
16
 
data/README.md CHANGED
@@ -77,6 +77,18 @@ platforms:
77
77
  password: myadministratorpassword
78
78
  ```
79
79
 
80
+ Transports also control key based authentication:
81
+
82
+ ```yaml
83
+ transport:
84
+ username: ubuntu
85
+ ssh_key: /path/to/key # probably the same as private_key_path
86
+ ```
87
+
88
+ See issues [#77](https://github.com/test-kitchen/kitchen-openstack/issues/77)
89
+ and [#101](https://github.com/test-kitchen/kitchen-openstack/issues/101)
90
+ for more information on using SSH keys.
91
+
80
92
  By default, a unique server name will be generated and the current user's SSH
81
93
  key will be used (with an RSA key taking precedence over a DSA), though that
82
94
  behavior can be overridden with additional options:
@@ -334,7 +334,7 @@ module Kitchen
334
334
  if bourne_shell?
335
335
  info 'Adding OpenStack hint for ohai'
336
336
  mkdir_cmd = "sudo mkdir -p #{hints_path}"
337
- touch_cmd = "sudo cat '{}' >> #{hints_path}/openstack.json"
337
+ touch_cmd = "sudo bash -c 'echo {} > #{hints_path}/openstack.json'"
338
338
  instance.transport.connection(state).execute(
339
339
  "#{mkdir_cmd} && #{touch_cmd}"
340
340
  )
@@ -21,6 +21,6 @@ module Kitchen
21
21
  #
22
22
  # @author Jonathan Hartman <j@p4nt5.com>
23
23
  module Driver
24
- OPENSTACK_VERSION = '2.0.0.dev.3'
24
+ OPENSTACK_VERSION = '2.0.0.dev.4'
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-openstack
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.dev.3
4
+ version: 2.0.0.dev.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Hartman
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-09-21 00:00:00.000000000 Z
12
+ date: 2015-09-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: test-kitchen