chef-metal 0.11 → 0.11.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
- data/CHANGELOG.md +5 -1
- data/README.md +2 -0
- data/lib/chef/provider/machine_batch.rb +1 -0
- data/lib/chef_metal/transport/ssh.rb +1 -1
- data/lib/chef_metal/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9391bc243760aeacc4473d01e37bba55d51bbecc
|
4
|
+
data.tar.gz: 18273864bc988440aeff101dd4a4d30fd89b25bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
+
## 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 == '
|
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)
|
data/lib/chef_metal/version.rb
CHANGED