chef-provisioning 2.5.0 → 2.6.0
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/CHANGELOG.md +11 -3
- data/README.md +3 -2
- data/lib/chef/provisioning/transport/ssh.rb +4 -1
- data/lib/chef/provisioning/version.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: 23cdbeec60b87a7414261d35d096ee08d4936b8a
|
|
4
|
+
data.tar.gz: 9a260eb4fd09736e6e4f188630557867d1bd2436
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f53271d1e990ca819d63e8546f5e27d6dadf02a029515671a8aa0010ce63f1cad7b79abcb5f563f01502a70a771ec8ce4f585b4f7e9078ab60c1c0f3d85e5d77
|
|
7
|
+
data.tar.gz: 121d57f2508b49a8407ed365279536f7f0ffa92972f69ec062b5b95c2d977c8e4d7dbe0e0d43a24eca786ab71a6c3cdd1a40ab4a355ed6f4af4c9b1cbfd1112b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## [2.
|
|
4
|
-
[Full Changelog](https://github.com/chef/chef-provisioning/compare/v2.
|
|
3
|
+
## [2.6.0](https://github.com/chef/chef-provisioning/tree/2.6.0) (2017-11-08)
|
|
4
|
+
[Full Changelog](https://github.com/chef/chef-provisioning/compare/v2.5.0...2.6.0)
|
|
5
|
+
|
|
6
|
+
**Merged pull requests:**
|
|
7
|
+
|
|
8
|
+
- Add an option to never use SSH port forwardin [\#596](https://github.com/chef/chef-provisioning/pull/596) ([jjlimepoint](https://github.com/jjlimepoint))
|
|
9
|
+
- Typo + small wording fix [\#590](https://github.com/chef/chef-provisioning/pull/590) ([jblaine](https://github.com/jblaine))
|
|
10
|
+
|
|
11
|
+
## [v2.5.0](https://github.com/chef/chef-provisioning/tree/v2.5.0) (2017-07-24)
|
|
12
|
+
[Full Changelog](https://github.com/chef/chef-provisioning/compare/v2.4.0...v2.5.0)
|
|
5
13
|
|
|
6
14
|
**Merged pull requests:**
|
|
7
15
|
|
|
@@ -974,4 +982,4 @@
|
|
|
974
982
|
## [v0.1](https://github.com/chef/chef-provisioning/tree/v0.1) (2013-12-21)
|
|
975
983
|
|
|
976
984
|
|
|
977
|
-
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
|
985
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/README.md
CHANGED
|
@@ -28,9 +28,9 @@ Maintained by Chef-Partners:
|
|
|
28
28
|
* [vSphere](https://github.com/chef-partners/chef-provisioning-vsphere)
|
|
29
29
|
* [vra](https://github.com/chef-partners/chef-provisioning-vra)
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
Maintained, not by Chef:
|
|
32
32
|
|
|
33
|
-
* [
|
|
33
|
+
* [AzureRM](https://github.com/pendrica/chef-provisioning-azurerm)
|
|
34
34
|
|
|
35
35
|
Unmaintained Drivers are at risk of becoming stale. They are:
|
|
36
36
|
|
|
@@ -215,6 +215,7 @@ with_machine_options({
|
|
|
215
215
|
:host_key_alias => "#{instance.id}.AWS", # DEFAULT
|
|
216
216
|
:key_data => nil, # use key from ssh-agent instead of a local file; remember to ssh-add your keys!
|
|
217
217
|
:forward_agent => true, # you may want your ssh-agent to be available on your provisioned machines
|
|
218
|
+
:never_forward_localhost => false, # This will, if set, disable SSH forwarding if it does not work/make sense in your envirnoment
|
|
218
219
|
:remote_forwards => [
|
|
219
220
|
# Give remote host access to squid proxy on provisioning node
|
|
220
221
|
{:remote_port => 3128, :local_host => 'localhost', :local_port => 3128,},
|
|
@@ -43,6 +43,7 @@ module Provisioning
|
|
|
43
43
|
@options = options
|
|
44
44
|
@config = global_config
|
|
45
45
|
@remote_forwards = ssh_options.delete(:remote_forwards) { Array.new }
|
|
46
|
+
@never_forward_localhost = ssh_options.delete(:never_forward_localhost)
|
|
46
47
|
end
|
|
47
48
|
|
|
48
49
|
attr_reader :host
|
|
@@ -173,7 +174,9 @@ module Provisioning
|
|
|
173
174
|
|
|
174
175
|
def make_url_available_to_remote(local_url)
|
|
175
176
|
uri = URI(local_url)
|
|
176
|
-
if
|
|
177
|
+
if @never_forward_localhost
|
|
178
|
+
return uri.to_s
|
|
179
|
+
elsif uri.scheme == 'chefzero' && !ChefZero::SocketlessServerMap.server_on_port(uri.port).server
|
|
177
180
|
# There is no .server for a socketless, for a socket-d server it would
|
|
178
181
|
# be a WEBrick::HTTPServer object.
|
|
179
182
|
raise 'Cannot forward a socketless Chef Zero server, see https://docs.chef.io/deprecations_local_listen.html for more information'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chef-provisioning
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Keiser
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-11-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: net-ssh
|