ventriloquist 0.3.0 → 0.3.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 +10 -1
- data/Gemfile.lock +1 -1
- data/README.md +17 -9
- data/lib/ventriloquist/cap/debian/ventriloquist_containers_upstart.rb +9 -3
- data/lib/ventriloquist/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: 2758ee35bff8a8df035d9e1c4cbca5715e0114c4
|
4
|
+
data.tar.gz: 41d50c437f6b3f75ce590ab66bc6cb2d666be609
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76966fcbbf2f5e221b3427ba32b9932a3a70c34b63c3fef7ce074f700be8f4c97fc3c5c4368297ce90796246072d9b3627baf52f2664194ce7ca766488f91dc7
|
7
|
+
data.tar.gz: a432235a92fbd189d17f3b6b571cb1ffaaf88df9aa4089ec5a831a4f1a7d3bda43ca3d98cf17902f9eac0370d0e1f085bdcfe4e2fe3ea248eee5e34e2b7c1aae
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## [0.3.1](https://github.com/fgrehm/ventriloquist/compare/v0.3.0...v0.3.1) (October 27, 2013)
|
2
|
+
|
3
|
+
BUG FIXES:
|
4
|
+
|
5
|
+
- Prevent upstart job from respawning all the time and fix issues related to
|
6
|
+
stopping containers [[GH-9]]
|
7
|
+
|
8
|
+
|
1
9
|
## [0.3.0](https://github.com/fgrehm/ventriloquist/compare/v0.2.1...v0.3.0) (October 23, 2013)
|
2
10
|
|
3
11
|
FEATURES:
|
@@ -7,7 +15,7 @@ FEATURES:
|
|
7
15
|
|
8
16
|
IMPROVEMENTS:
|
9
17
|
|
10
|
-
- Bump [
|
18
|
+
- Bump [vocker] dependency to 0.3.3
|
11
19
|
|
12
20
|
## [0.2.1](https://github.com/fgrehm/ventriloquist/compare/v0.2.0...v0.2.1) (October 12, 2013)
|
13
21
|
|
@@ -34,6 +42,7 @@ BUG FIXES:
|
|
34
42
|
|
35
43
|
|
36
44
|
|
45
|
+
[GH-9]: https://github.com/fgrehm/ventriloquist/issues/9
|
37
46
|
[GH-19]: https://github.com/fgrehm/ventriloquist/issues/19
|
38
47
|
[GH-3]: https://github.com/fgrehm/ventriloquist/issues/3
|
39
48
|
[GH-22]: https://github.com/fgrehm/ventriloquist/issues/22
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -35,17 +35,17 @@ end
|
|
35
35
|
* Multi purpose, "zero-conf" development environments that fits into a gist.
|
36
36
|
* Production parity for those that have no control of their production machines,
|
37
37
|
like if you are deploying to Heroku or another PaaS.
|
38
|
-
* Be the easiest tool for building other tools development environments
|
39
|
-
|
40
|
-
|
38
|
+
* Be the easiest tool for building other tools development environments, for
|
39
|
+
prototyping and also to give a head start to those introducing Vagrant / Docker
|
40
|
+
to legacy projects.
|
41
41
|
|
42
42
|
|
43
43
|
|
44
44
|
## Status
|
45
45
|
|
46
46
|
Early development, the feature set and configuration format might change rapidly
|
47
|
-
and
|
48
|
-
0.6.1 and Vagrant 1.2.0+:
|
47
|
+
and it is known to work with the following Ubuntu 13.04 Vagrant VMs using Docker
|
48
|
+
0.6.1+ and Vagrant 1.2.0+:
|
49
49
|
|
50
50
|
* http://cloud-images.ubuntu.com/vagrant/raring/current/raring-server-cloudimg-amd64-vagrant-disk1.box
|
51
51
|
* http://bit.ly/vagrant-lxc-raring64-2013-07-12 (yes! LXC inception :)
|
@@ -53,8 +53,9 @@ and has only been tested on the following Ubuntu 13.04 Vagrant VMs using Docker
|
|
53
53
|
_Please note that in order to use the plugin on [vagrant-lxc](https://github.com/fgrehm/vagrant-lxc)
|
54
54
|
containers you need some extra steps described below_
|
55
55
|
|
56
|
-
On its current state is
|
57
|
-
plugin without
|
56
|
+
On its current state is a "stable experiment", I've been using a setup with the
|
57
|
+
plugin without hitting [major issues](https://github.com/fgrehm/ventriloquist/issues?labels=bug&page=1&state=open)
|
58
|
+
for a while now.
|
58
59
|
|
59
60
|
|
60
61
|
|
@@ -197,8 +198,15 @@ Vagrant.configure("2") do |config|
|
|
197
198
|
config.vm.provision :shell, inline: %[
|
198
199
|
if ! [ -f /etc/default/lxc ]; then
|
199
200
|
cat <<STR > /etc/default/lxc
|
200
|
-
LXC_AUTO="
|
201
|
-
USE_LXC_BRIDGE="
|
201
|
+
LXC_AUTO="true"
|
202
|
+
USE_LXC_BRIDGE="true"
|
203
|
+
LXC_BRIDGE="lxcbr0"
|
204
|
+
LXC_ADDR="10.0.252.1"
|
205
|
+
LXC_NETMASK="255.255.255.0"
|
206
|
+
LXC_NETWORK="10.0.252.0/24"
|
207
|
+
LXC_DHCP_RANGE="10.0.252.2,10.0.252.254"
|
208
|
+
LXC_DHCP_MAX="253"
|
209
|
+
LXC_SHUTDOWN_TIMEOUT=120
|
202
210
|
STR
|
203
211
|
fi
|
204
212
|
]
|
@@ -11,17 +11,23 @@ module VagrantPlugins
|
|
11
11
|
cat<<EOF > /etc/init/ventriloquist.conf
|
12
12
|
description "Restart configured Ventriloquist services after reboot"
|
13
13
|
|
14
|
-
start on
|
14
|
+
start on started docker
|
15
|
+
|
16
|
+
task
|
15
17
|
|
16
18
|
script
|
17
19
|
if [ -d /var/lib/ventriloquist/cids ]; then
|
18
20
|
sleep 1 # Give Docker some time
|
19
21
|
for cidfile in \$(ls /var/lib/ventriloquist/cids/*); do
|
20
|
-
|
22
|
+
cid=\$(cat \$cidfile)
|
23
|
+
if ! $(docker ps | grep -q $cid); then
|
24
|
+
docker start \$(cat \$cidfile)
|
25
|
+
else
|
26
|
+
echo "Container ${cid} already started"
|
27
|
+
fi
|
21
28
|
done
|
22
29
|
fi
|
23
30
|
end script
|
24
|
-
respawn
|
25
31
|
EOF'
|
26
32
|
end
|
27
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ventriloquist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fabio Rehm
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: vocker
|