chef-provisioning-ssh 0.0.4 → 0.0.5

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: 7fe4cf3899fb309821ab22d0f9dd76fadcc1b58c
4
- data.tar.gz: 0f80251b6a818fbe5c7ed42445b635cc9333aed5
3
+ metadata.gz: 00cc5042c2f375db2b5a8d3022e1d985d99469c7
4
+ data.tar.gz: 1c336508827b7210d1841c130c2144b3e5e2741e
5
5
  SHA512:
6
- metadata.gz: df8767e9f50ddd4d670efeb8ffe1a06c1acff06a7c7260e9c97b3e7a7505c37fbfa0c1fa793e3f40cef76e06bf69304edb95ae17a4b5c894a9a9a579c9abadcb
7
- data.tar.gz: 3a353beff910734a9ab9be8bd8181af14f34999ecd0d8b98c55426e521a18f338aa612168ac3eb7904ae982a1ab490851630bfae213204ecabebdd3c04e4ae9d
6
+ metadata.gz: 366aebea4b1247d780f6e984bd292da3f9c919e8e60412e1ec6c063a61f78bb0d07c3e0112bf83f3901bb491dcec9b3ce0be7b8c8728958f53cea3c10b8525df
7
+ data.tar.gz: cd28ef27a447cc40ce986bae7b68b5737b5540758dac8654fb30bb78ef185ce6491c68ac410e2fe52420422639a5060097b04162c8b87bd2113f287313dcbb50
data/README.md CHANGED
@@ -22,7 +22,13 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
- The `machine_options` for provisioning ssh now use the key `transport_options` which line up directly with the `transport_options` for chef-provisioning proper. Transport_options can be a string or symbol and will be properly converted. The transport_options can be viewed in the code for chef-provisioning here:
25
+ The `machine_options` for provisioning ssh now use the key `transport_options` which line up directly with the `transport_options` for chef-provisioning proper.
26
+
27
+ The `transport_options` key must be a *symbol*.
28
+
29
+ Sub-keys should be *strings*.
30
+
31
+ The transport_options can be viewed in the code for chef-provisioning here:
26
32
 
27
33
  https://github.com/chef/chef-provisioning/blob/master/lib/chef/provisioning/transport/ssh.rb#L17-L34
28
34
 
@@ -45,6 +51,9 @@ The snippet from that link is:
45
51
 
46
52
  In addition to host, ip_address and hostname are also additional options.
47
53
 
54
+ * the `ssh_options` key accepts options from Net::SSH.start, the full list can be seen here:
55
+
56
+ http://net-ssh.github.io/ssh/v2/api/classes/Net/SSH.html#M000002
48
57
 
49
58
  * full machine_options for SSH example:
50
59
 
@@ -139,6 +148,7 @@ In addition to host, ip_address and hostname are also additional options.
139
148
  machine "winrm" do
140
149
  action [:ready, :setup, :converge]
141
150
  machine_options :transport_options => {
151
+ 'is_windows' => true,
142
152
  'host' => '192.168.33.23',
143
153
  'port' => 5985,
144
154
  'username' => 'vagrant',
@@ -179,4 +189,4 @@ party on wayne.
179
189
  2. Create your feature branch (`git checkout -b my-new-feature`)
180
190
  3. Commit your changes (`git commit -am 'Add some feature'`)
181
191
  4. Push to the branch (`git push origin my-new-feature`)
182
- 5. Create new Pull Request
192
+ 5. Create new Pull Request
@@ -1,7 +1,7 @@
1
1
  class Chef
2
2
  module Provisioning
3
3
  module SshDriver
4
- VERSION = '0.0.4'
4
+ VERSION = '0.0.5'
5
5
  end
6
6
  end
7
7
  end
@@ -15,7 +15,7 @@ class Chef::Resource::SshCluster < Chef::Resource::LWRPBase
15
15
  end
16
16
 
17
17
  # We are not interested in Chef's cloning behavior here.
18
- def load_prior_resource
18
+ def load_prior_resource(*args)
19
19
  Chef::Log.debug("Overloading #{resource_name}.load_prior_resource with NOOP")
20
20
  end
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-provisioning-ssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zack Zondlo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-06 00:00:00.000000000 Z
11
+ date: 2015-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-provisioning