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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ae5600852b4374df914684ee67a4d57471f4140f
4
- data.tar.gz: cb8a2dfd12ef0330d3d52414b63704fd75b152a8
3
+ metadata.gz: ce50c95322f427e822f4f715d836acd8156f2103
4
+ data.tar.gz: 87a7bd88b545f717844c84223afb940119b903c2
5
5
  SHA512:
6
- metadata.gz: f408414657e710600d142565b9236c3f77037d0450fe564a77462fbec606289f9a48f2349afba3fb7698b14100b4454e485a32f3de32bade39cb51c73ab14ed4
7
- data.tar.gz: 6fa526eb15c58413087b57d74809f62ac8832f92a6019964d94b79341a9fb3925bb45826dedbe7abeab9a91e8cf02b6bb2a74175672ccf57a93af4eca39cdcbe
6
+ metadata.gz: 18780f56f4c1654debea4e66197be7a20961eee60e0ebcc306ea62566990c956784d042c07bd7af5e06a372a8b22bcd23fadd69dd46608cc0639f85a46f2a0e2
7
+ data.tar.gz: 8775ac886cb5658e4da2ddc688f3f983d6b15277d9d842953723e9572eca956e614c6bdf4250663ee872d3bce4ca002a09531dda7f5597bb24d4067ee95ab758
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # dev-lxc Change Log
2
2
 
3
+ ## 2.6.1 (2017-02-10)
4
+
5
+ * Fix http_proxy and https_proxy in generated knife.rb and client.rb files
6
+
3
7
  ## 2.6.0 (2017-02-09)
4
8
 
5
9
  * Make api_fqdn unique for chef-tier and chef-backend configs
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
 
@@ -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(#https_proxy 'https://10.0.3.1:8080'
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(#https_proxy 'https://10.0.3.1:8080'
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"
@@ -1,3 +1,3 @@
1
1
  module DevLXC
2
- VERSION = "2.6.0"
2
+ VERSION = "2.6.1"
3
3
  end
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.0
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-09 00:00:00.000000000 Z
11
+ date: 2017-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler