vocker 0.3.2 → 0.3.3

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: 01ebe4e117bf2353cbc0ce30465d58fcde38ab67
4
- data.tar.gz: 4414a6eef3b96935e53ea2346676aa329e1d80a7
3
+ metadata.gz: 67d9bfc4a2cc6dabde1fc13b5321f430caa7df86
4
+ data.tar.gz: a201fa7d0a147ef2ba01fa6855823b225e0589a7
5
5
  SHA512:
6
- metadata.gz: 6b18a0828dc7f538e0d35d0832e71239a0d4c60ee596366d1050a4214947dc2ce7f43bb4f41fe9212d0b90af274da4897a3d9b675379543123586a962c7c8ca8
7
- data.tar.gz: 53d6655eceab26f844e48c12c4aa4da9d578abef09a58a41ccdda58d16e6321e21e75f193253a18caedce57c91a8a0eab72d08b3a714de5fea3c95e9ccfb256c
6
+ metadata.gz: 4152325e8967bdf16fb499b48b109958e07bebe0fa0e481e1056c3e2c9be076574b41297480477f5c2d56ab7bf07d9d88bbe10dae2e30c96da081fb7b86a1ead
7
+ data.tar.gz: 4c43b4ea5085d1e9e3b0515e5119bf31af8b74c615c4c5b6f2e53109567d685fbbdc5f927458f1364f23095a71d8b9e61d65065fbff7513d0ec402cf3c6d7e33
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.3.3](https://github.com/fgrehm/vocker/compare/v0.3.2...v0.3.3) (October 15, 2013)
2
+
3
+ - Prevent `-r=true` from being appended multiple times to `/etc/init/docker.conf`
4
+
1
5
  ## [0.3.2](https://github.com/fgrehm/vocker/compare/v0.3.1...v0.3.2) (October 12, 2013)
2
6
 
3
7
  - Add support for additional parameters to be passed to the docker run cmd [GH-8](https://github.com/fgrehm/vocker/pull/8)
data/Gemfile.lock CHANGED
@@ -13,7 +13,7 @@ GIT
13
13
  PATH
14
14
  remote: .
15
15
  specs:
16
- vocker (0.3.2)
16
+ vocker (0.3.3)
17
17
 
18
18
  GEM
19
19
  remote: https://rubygems.org/
@@ -4,7 +4,9 @@ module VagrantPlugins
4
4
  module Debian
5
5
  module DockerConfigureAutoStart
6
6
  def self.docker_configure_auto_start(machine)
7
- machine.communicate.sudo("sed -i.bak 's/docker -d/docker -d -r=true/' /etc/init/docker.conf ")
7
+ if ! machine.communicate.test('grep -q \'\-r=true\' /etc/init/docker.conf')
8
+ machine.communicate.sudo("sed -i.bak 's/docker -d/docker -d -r=true/' /etc/init/docker.conf ")
9
+ end
8
10
  end
9
11
  end
10
12
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Vocker
3
- VERSION = "0.3.2"
3
+ VERSION = "0.3.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vocker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
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-12 00:00:00.000000000 Z
11
+ date: 2013-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler