knife-bastion 1.1.0 → 1.1.1
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
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +18 -0
- data/lib/chef/knife/bastion_base.rb +1 -1
- data/lib/knife-bastion/version.rb +1 -1
- metadata +3 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 07a201e08855df9b35ea48ed9cc65c177ca07dd1
|
|
4
|
+
data.tar.gz: 847d377d8e45f2ac6bde7b605959016f0c0753fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ce9362c97eb7d2797f7bdf338e68c6f0be78893ae1b262f25439cb48c19e47238674f3417b2c8cfd9597d43e14f934bf8a0b6bcbe9017a3461aa0bfcb3e7d2a
|
|
7
|
+
data.tar.gz: 5caf485251fefc458c98f0ce7cb77e5605d5e491e0d3e637c6057907d3f64c74ac9a52d52b4b7e0906e052e72abbf2971de6d38bde76e18bcad113f8cc0b6c82
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
## 1.1.1 (September 27, 2016)
|
|
2
|
+
|
|
3
|
+
Bugfixes:
|
|
4
|
+
- Fixed the issue with `knife bastion status` plugin, when it sometimes failed to detect bastion host IP address
|
|
5
|
+
|
|
6
|
+
## 1.1.0 (August 30, 2016)
|
|
7
|
+
|
|
8
|
+
Changes:
|
|
9
|
+
- Proxy code has been refactored to make it more generic, so it can be used to proxy any requests through bastion connection
|
|
10
|
+
|
|
11
|
+
Bugfixes:
|
|
12
|
+
|
|
13
|
+
## 1.0.0 (August 22, 2016)
|
|
14
|
+
|
|
15
|
+
Features:
|
|
16
|
+
|
|
17
|
+
- Connect to bastion server via SSH and proxy all Chef requests through this connection
|
|
18
|
+
- Knife plugins to monitor status, start and stop connections
|
|
@@ -26,7 +26,7 @@ class Chef
|
|
|
26
26
|
proxy_pid = pid_result.stdout.chomp
|
|
27
27
|
|
|
28
28
|
# Verify tunnel destination
|
|
29
|
-
bastion_ip_addr =
|
|
29
|
+
bastion_ip_addr = Socket.getaddrinfo(@bastion_host, nil, :INET, :STREAM, Socket::IPPROTO_TCP).first[3]
|
|
30
30
|
dest_result = shell_out("lsof -an -p #{proxy_pid} -i4@#{bastion_ip_addr}:ssh")
|
|
31
31
|
unless dest_result.status.success?
|
|
32
32
|
ui.fatal "There is a process with PID #{proxy_pid} listening on port #{local_port}, but it does not look like a tunnel"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: knife-bastion
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmytro Shteflyuk
|
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
|
30
30
|
DHSQkPQADqf52XlDQ7I6fBAn6E2bH38Wvwpu593AvE02KRKqaK8XEtBBldE4d/It
|
|
31
31
|
2ysZ/sPJras9LFb2MpjJNRCdXr3z2ed6QwuLnsyEfuk=
|
|
32
32
|
-----END CERTIFICATE-----
|
|
33
|
-
date: 2016-
|
|
33
|
+
date: 2016-09-27 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: chef
|
|
@@ -113,6 +113,7 @@ files:
|
|
|
113
113
|
- ".codeclimate.yml"
|
|
114
114
|
- ".gitignore"
|
|
115
115
|
- ".rubocop.yml"
|
|
116
|
+
- CHANGELOG.md
|
|
116
117
|
- Gemfile
|
|
117
118
|
- LICENSE.txt
|
|
118
119
|
- README.md
|
metadata.gz.sig
CHANGED
|
Binary file
|