chef-provisioning-ssh 0.0.4 → 0.0.5
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/README.md +12 -2
- data/lib/chef/provisioning/ssh_driver/version.rb +1 -1
- data/lib/chef/resource/ssh_cluster.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00cc5042c2f375db2b5a8d3022e1d985d99469c7
|
4
|
+
data.tar.gz: 1c336508827b7210d1841c130c2144b3e5e2741e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
@@ -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
|
+
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-
|
11
|
+
date: 2015-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef-provisioning
|