vagrant-dotvm 0.23.0 → 0.24.0

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: fa4c89cee3717b8f9a5606b93048a8bc2644aac0
4
- data.tar.gz: c8c26855468ab2635900cabc2a71bfe9bd54b975
3
+ metadata.gz: 329d0a2a3dcbc737df5fd64651dee0edfa7784e6
4
+ data.tar.gz: 9c0659b46f54dd94770bae0fe550c46ee57b1758
5
5
  SHA512:
6
- metadata.gz: f10ba5f65aabb34f5a875e756cc9ce04e4d7f0a17f1bd5e691e2664066facc8e9023a4f18b21b89335246e3462c3eddbd3cd93e9692228a34fb900d952c6afbc
7
- data.tar.gz: 701a802918d8c8ad1dc866b0e73fad4bd94a0cd847f1d3ee84c9cf842cc9822bcbd9e7ec914efe76b71b0742184c490ffc1a2b6ca187af0bda7fe076160627ca
6
+ metadata.gz: 938cb9479eb145b2159698545a8fa776c953263fda6d0ac8b680bdc47fda994f224a46e1eea0f7b9cf2b5c8a4e3d4f4c1e58a3a00cd29586e49acae49f300b12
7
+ data.tar.gz: 28a4ab213f0ad04659cf7293f95179b9b551b7a62c0d89684e2b3cf7cea50555a8adfeb35a32e4eb595d9f6b3193ffbd697752f542168ab033d7dd3759d151c5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 0.24.0
2
+ * Fix for autostart/primary options incorrectly passed to Vagrant
3
+
1
4
  # 0.23.0
2
5
  * Support for puppet_server provision options
3
6
  * Added option usable_port_range
data/README.md CHANGED
@@ -4,8 +4,9 @@
4
4
  [![Gem Version](https://badge.fury.io/rb/vagrant-dotvm.svg)](http://badge.fury.io/rb/vagrant-dotvm)
5
5
 
6
6
  ## What is that?
7
- DotVm is vagrant plugin for easier maintenance of multi machine configurations.
8
- DotVm joins easy syntax of YAML files with flexibility offered by configuration exploded into several small files.
7
+ DotVm is plugin which makes your life easier when it comes to setup both simple VM in Vagrant and
8
+ bigger development environments. You can plug multiple infrastructure projects into one DotVm instance.
9
+ Each project can contain many VMs, splitted (or not) into several small YAML files.
9
10
 
10
11
  ## How to start using DotVm
11
12
  First you need to install DotVm plugin:
@@ -50,3 +51,6 @@ Environment variables are accessible by using env prefix, e.g. `%env.LOGNAME%`.
50
51
  Predefined variables:
51
52
  * `%project.host%` - points to project directory on host
52
53
  * `%project.guest%` - points to project directory on guest
54
+
55
+ ## More information
56
+ For more information please follow to [wiki](https://github.com/krzysztof-magosa/vagrant-dotvm/wiki/Getting-started).
@@ -8,9 +8,11 @@ module VagrantPlugins
8
8
  vc.ssh.forward_x11 = true
9
9
 
10
10
  config.machines.each do |machine_cfg|
11
- vc.vm.define machine_cfg.nick,
12
- primary: machine_cfg.primary,
13
- autostart: machine_cfg.autostart do |machine|
11
+ define_opts = {}
12
+ define_opts[:primary] = machine_cfg.primary unless machine_cfg.primary.nil?
13
+ define_opts[:autostart] = machine_cfg.autostart unless machine_cfg.autostart.nil?
14
+
15
+ vc.vm.define machine_cfg.nick, **define_opts do |machine|
14
16
  machine.vm.box = machine_cfg.box unless machine_cfg.box.nil?
15
17
  machine.vm.hostname = machine_cfg.name unless machine_cfg.name.nil?
16
18
  machine.vm.boot_timeout = machine_cfg.boot_timeout unless machine_cfg.boot_timeout.nil?
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Dotvm
3
- VERSION = "0.23.0"
3
+ VERSION = "0.24.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-dotvm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Krzysztof Magosa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-18 00:00:00.000000000 Z
11
+ date: 2015-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler