vagrant-kaigara 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +24 -1
- data/lib/vagrant-kaigara/provisioner.rb +2 -4
- data/lib/vagrant-kaigara/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: d4dca271dee3c55dd1816d3f2afe570b6ce7e939
|
4
|
+
data.tar.gz: 0086c9947c860e1197f2a3dbd7479cedd7c9faaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee684f3e8a98cc3764668c01f47aee384cb8f5d03e0ab819ea5aab544640ffa159dfd4ded6babf8afe4e9fba65a8c302415e873fc04cef40e734e12fbde740eb
|
7
|
+
data.tar.gz: 3d8db8741371379a35b6b5752dd69eed9d9fe764efd0ecde77082970e656ffe1684c2aaf17c2a1e8457439ca197aa9877bd7222ddf72f26c94d314a22a45672a
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Vagrant::Kaigara
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.org/helios-technologies/vagrant-kaigara.svg?branch=master)](https://travis-ci.org/helios-technologies/vagrant-kaigara) [![Gem Version](https://badge.fury.io/rb/vagrant-kaigara.svg)](https://badge.fury.io/rb/vagrant-kaigara)
|
3
|
+
[![Build Status](https://travis-ci.org/helios-technologies/vagrant-kaigara.svg?branch=master)](https://travis-ci.org/helios-technologies/vagrant-kaigara) [![Gem Version](https://badge.fury.io/rb/vagrant-kaigara.svg)](https://badge.fury.io/rb/vagrant-kaigara)
|
4
4
|
|
5
5
|
This is a gem for provisioning vagrant with [kaigara](https://github.com/helios-technologies/kaigara)
|
6
6
|
|
@@ -23,6 +23,29 @@ Then run `vagrant provision`.
|
|
23
23
|
|
24
24
|
## Contributing
|
25
25
|
|
26
|
+
If you want to test the plugin in source folder, execute every vargant command starting with bundle exec:
|
27
|
+
|
28
|
+
$ bundle exec vagrant up --provision
|
29
|
+
|
30
|
+
If you want to test any changes with your projects:
|
31
|
+
|
32
|
+
1) Delete your current vagrant-kaigara plugin
|
33
|
+
|
34
|
+
```
|
35
|
+
$ vagrant plugin uninstall vagrant-kaigara
|
36
|
+
```
|
37
|
+
|
38
|
+
2) Build a gem from sources
|
39
|
+
|
40
|
+
```
|
41
|
+
$ gem build vagrant-kaigara.gemspec
|
42
|
+
```
|
43
|
+
3) Install new gem
|
44
|
+
|
45
|
+
```
|
46
|
+
$ vagrant plugin install vagrant-kaigara-{version}.gem
|
47
|
+
```
|
48
|
+
|
26
49
|
Bug reports and pull requests are welcome on GitHub at https://github.com/helios-technologies/vagrant-kaigara.
|
27
50
|
|
28
51
|
|
@@ -28,9 +28,7 @@ module VagrantPlugins
|
|
28
28
|
def action(command, opts = {})
|
29
29
|
@machine.communicate.tap do |comm|
|
30
30
|
comm.execute("source /etc/profile; #{command}", { error_key: :ssh_bad_exit_status_muted, sudo: true }.merge(opts) ) do |type, data|
|
31
|
-
|
32
|
-
handle_comm(type, data)
|
33
|
-
end
|
31
|
+
handle_comm(type, data)
|
34
32
|
end
|
35
33
|
end
|
36
34
|
end
|
@@ -53,7 +51,7 @@ module VagrantPlugins
|
|
53
51
|
end
|
54
52
|
|
55
53
|
def ruby_installed?
|
56
|
-
test('test -
|
54
|
+
test('test -d /opt/kaigara') && test('ruby -v')
|
57
55
|
end
|
58
56
|
|
59
57
|
def kaigara_installed?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-kaigara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Koval
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|