chef-metal 0.11 → 0.11.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: 9a4b69b8572373668b6d29bf038e2da863f399a1
4
- data.tar.gz: 16008add0cfc263409fd632ab6205c54dba6fa0b
3
+ metadata.gz: 9391bc243760aeacc4473d01e37bba55d51bbecc
4
+ data.tar.gz: 18273864bc988440aeff101dd4a4d30fd89b25bf
5
5
  SHA512:
6
- metadata.gz: 756dd414e8309497b54c6c007060ddeb019cc0e48f2a32b95155dd131ff3a4026ee1eaaa2c89eb78091bffad32d9ea08cd445bee911e9582b86d2d218c8a2757
7
- data.tar.gz: 289ed6a9752f6a8eed10c62128d6213899b910442945106cf11f2a362f25e419a48ed0f2e409da7e22fe381e81005f6e30e7f43dfc2596b74f603c5ca86fc80f
6
+ metadata.gz: 8fe83c420f1e0ba7579a855e190b1c490c4e928342d93c59ef032623e8e98eb14699dfa4da9b5d562291257ca0aa68da75139eac6f14c59d27a6d0bd79624a14
7
+ data.tar.gz: f0f53131d878cbab635b341e9c58ad55a258773e4a8a878d1ac9c08ca9db7d3a636ead46574b51fed6c05291be57f15ea9b5d23b9801d2f242bfaee77fe020b7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # Chef Metal Changelog
2
2
 
3
- ## 0.11 (6/3/2014)
3
+ ## 0.11.1 (6/4/2014)
4
+
5
+ - fix local mode port forwarding on IPv6 hosts
6
+
7
+ ## 0.11 (6/4/2014)
4
8
 
5
9
  - New Driver interface (see docs/ and blogs/ directories for documentation)
6
10
  - New configuration (see docs/ and blogs/)
data/README.md CHANGED
@@ -17,6 +17,8 @@ Try It Out
17
17
 
18
18
  You can try out Metal in many different flavors.
19
19
 
20
+ HINT: chef-metal looks prettiest with chef 11.14 alpha. `gem install chef --pre` to get it.
21
+
20
22
  ### Vagrant
21
23
 
22
24
  To give it a spin, install Vagrant and VirtualBox and try this from the `chef-metal/docs/examples` directory:
@@ -50,6 +50,7 @@ class Chef::Provider::MachineBatch < Chef::Provider::LWRPBase
50
50
  m[:machine].setup_convergence(prefixed_handler)
51
51
  m[:spec].save(action_handler)
52
52
  Chef::Provider::Machine.upload_files(prefixed_handler, m[:machine], m[:files])
53
+ # TODO only converge if machine was modified
53
54
  m[:machine].converge(prefixed_handler)
54
55
  m[:spec].save(prefixed_handler)
55
56
  end
@@ -109,7 +109,7 @@ module ChefMetal
109
109
  def make_url_available_to_remote(local_url)
110
110
  uri = URI(local_url)
111
111
  host = Socket.getaddrinfo(uri.host, uri.scheme, nil, :STREAM)[0][3]
112
- if host == '127.0.0.1' || host == '[::1]'
112
+ if host == '127.0.0.1' || host == '::1'
113
113
  unless session.forward.active_remotes.any? { |port, bind| port == uri.port && bind == uri.host }
114
114
  Chef::Log.debug("Forwarding local server #{uri.host}:#{uri.port} to port #{uri.port} on #{username}@#{self.host}")
115
115
  session.forward.remote(uri.port, uri.host, uri.port)
@@ -1,3 +1,3 @@
1
1
  module ChefMetal
2
- VERSION = '0.11'
2
+ VERSION = '0.11.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-metal
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.11'
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Keiser