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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b68b62c53ce91c9aaf40f3fb39616544b88cf67
|
4
|
+
data.tar.gz: 2edc715729fd7998762345212bbcafa9d409538e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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, "
|
65
|
-
hosts_file.write new_hosts_file_contents.join
|
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!
|
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.
|
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-
|
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
|