vagrant-krane 0.0.1.alpha1 → 0.0.1.alpha2

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: 4a1ec8c728889dd853cc2c700000119b0d119030
4
- data.tar.gz: 3fdf36ff15d813b925da69a79d560359754a21a3
3
+ metadata.gz: 0b68b62c53ce91c9aaf40f3fb39616544b88cf67
4
+ data.tar.gz: 2edc715729fd7998762345212bbcafa9d409538e
5
5
  SHA512:
6
- metadata.gz: 9a416f712d0636292e82465896777f853bdd3ec32b45d981cbdd8f969cc8c516f2a663d65e50568dc426c9ca78e638a2f0db8227769b419dd553b542e7eec35d
7
- data.tar.gz: cfc3bdaa93182c826469de3bfdae5e3029760637cf5009ff3e967a14eef30326b9eb4daed27217250086cd75cf8cc4c2699e255ffb61ba524e1ea67e0b7ddc4b
6
+ metadata.gz: 556853d4a8cae52e5b0dfd232724d8312e65c0dd89136e608fc00b2ea6806ed21907044caa13b118a7047a674cc94f761f2bf3b10820ef4f6c9261c3e9e1c13d
7
+ data.tar.gz: 38d21cc1a8b6aa17d093317fdbde7d972e59b2fbfe703f869def3a48b9c29183822fdde9a9586b6068ccd42128e002d0d84e17886a5b9f0ab48e9062cbef855d
@@ -57,12 +57,12 @@ module Vagrant::Krane::Action
57
57
  new_hosts_file_contents = new_hosts_file_contents.join "\n"
58
58
 
59
59
  if !File.writable?(hosts_file_path)
60
- sudo(%Q(sh -c 'echo "#{new_hosts_file_contents}" >> #{hosts_file_path}'))
60
+ sudo %Q(sh -c 'echo "#{new_hosts_file_contents}" > #{hosts_file_path}')
61
61
  else
62
62
  content = "\n" + content
63
63
 
64
- File.open hosts_file_path, "a" do |hosts_file|
65
- hosts_file.write new_hosts_file_contents.join("\n")
64
+ File.open hosts_file_path, "w" do |hosts_file|
65
+ hosts_file.write new_hosts_file_contents.join "\n"
66
66
  end
67
67
  end
68
68
  clear_mnemoized_hosts_file_contents!
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module Krane
3
- VERSION = "0.0.1.alpha1"
3
+ VERSION = "0.0.1.alpha2"
4
4
  end
5
5
  end
File without changes
File without changes
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-krane
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.alpha1
4
+ version: 0.0.1.alpha2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Quintanilla
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-20 00:00:00.000000000 Z
11
+ date: 2014-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docker-api
@@ -73,6 +73,9 @@ files:
73
73
  - lib/vagrant-krane/version.rb
74
74
  - locales/en.yml
75
75
  - vagrant-krane.gemspec
76
+ - volumes/rabbitmq/config/.keep
77
+ - volumes/rabbitmq/logs/.keep
78
+ - volumes/rabbitmq/mnesia/.keep
76
79
  homepage: https://github.com/vovimayhem/vagrant-krane
77
80
  licenses:
78
81
  - MIT