dev-lxc 2.6.0 → 2.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +3 -1
- data/lib/dev-lxc/cluster.rb +4 -2
- data/lib/dev-lxc/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: ce50c95322f427e822f4f715d836acd8156f2103
|
4
|
+
data.tar.gz: 87a7bd88b545f717844c84223afb940119b903c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18780f56f4c1654debea4e66197be7a20961eee60e0ebcc306ea62566990c956784d042c07bd7af5e06a372a8b22bcd23fadd69dd46608cc0639f85a46f2a0e2
|
7
|
+
data.tar.gz: 8775ac886cb5658e4da2ddc688f3f983d6b15277d9d842953723e9572eca956e614c6bdf4250663ee872d3bce4ca002a09531dda7f5597bb24d4067ee95ab758
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -224,7 +224,9 @@ Run `mitmproxy` in a terminal on the host instance.
|
|
224
224
|
|
225
225
|
Uncomment the `https_proxy` line in the `chef-repo/.chef/knife.rb` or in a node's `/etc/chef/client.rb` so traffic will be proxied through mitmproxy.
|
226
226
|
|
227
|
-
Run chef-client in the node or knife commands from the chef-repo and watch the HTTP requests appear in the mitmproxy console.
|
227
|
+
Run chef-client in the node or knife commands from the chef-repo directory and watch the HTTP requests appear in the mitmproxy console.
|
228
|
+
|
229
|
+
If you configured your workstation's SSH config file with LocalForward as described in dev-lxc-platform's README then you should be able to configure the web browser to use "127.0.0.1 8080" for HTTP and HTTPS proxies and watch the HTTP requests appear in the mitmproxy console.
|
228
230
|
|
229
231
|
### Manage the Cluster
|
230
232
|
|
data/lib/dev-lxc/cluster.rb
CHANGED
@@ -803,7 +803,8 @@ module DevLXC
|
|
803
803
|
FileUtils.cp(validation_key, "#{server.container.config_item('lxc.rootfs')}/etc/chef/") if File.exists?(validation_key)
|
804
804
|
end
|
805
805
|
|
806
|
-
client_rb = %Q(#
|
806
|
+
client_rb = %Q(#http_proxy 'http://10.0.3.1:8080'
|
807
|
+
#https_proxy 'http://10.0.3.1:8080'
|
807
808
|
|
808
809
|
chef_server_url '#{chef_server_url}'
|
809
810
|
validation_client_name '#{validation_client_name}'
|
@@ -1029,7 +1030,8 @@ ssl_verify_mode :verify_none
|
|
1029
1030
|
end
|
1030
1031
|
|
1031
1032
|
def create_knife_config(fqdn, dot_chef_path)
|
1032
|
-
knife_rb = %Q(#
|
1033
|
+
knife_rb = %Q(#http_proxy 'http://127.0.0.1:8080'
|
1034
|
+
#https_proxy 'http://127.0.0.1:8080'
|
1033
1035
|
|
1034
1036
|
username = "CHANGEME"
|
1035
1037
|
orgname = "CHANGEME"
|
data/lib/dev-lxc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dev-lxc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremiah Snapp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|