vagrant-lifecycle 0.1.5 → 0.1.6

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: 73925bf9bc5b464989d16c8af2fe245e34eb0b55
4
- data.tar.gz: b38ec8d4fb21dbaaddb208ba53b96e16943af010
3
+ metadata.gz: 6ce5fff64d1c6fa65c785e8040914fcc97c54f6c
4
+ data.tar.gz: 9e9a855f69bf677098e4dbb73cad5371d2bf528a
5
5
  SHA512:
6
- metadata.gz: 9949c7f56293883284630372ade0f40798cc4567bfaebfd2d3ed74718a0aa8da06ef9151bb524d98c4cf457fa574cbb8b431d6176e7b755ab50d0441f25ffc3d
7
- data.tar.gz: 2f017a7ce95a17ce587077fbd3b3f114f4f7721ae593ecccbab9e894bf7a6c8778e2878cec2df0ad3ad40000bddce4476e5fbbe1c8be9dd6b615645f7d72c6fa
6
+ metadata.gz: 84b226c0ec90314b1781ed7b16b0adf224b3b99eb52fe622e9be56c832575e4e3c27fe85aadde197353568970c1f7ee14e5532bd3a416dbf7e884d87674666f9
7
+ data.tar.gz: 751406293654968444d9e377e204eb50696a4aa3b65245e1f78c559038fb357404435fac3f704affda18805439b6d245822b41e81d47cf3d6f664a1013ed817e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # vagrant-lifecycle Changelog
2
2
 
3
+ ## 0.1.6
4
+
5
+ Changed event hooks in order to make the plugin compatible with othe plugins such as [vagrant-managed-servers](https://github.com/tknerr/vagrant-managed-servers).
6
+
3
7
  ## 0.1.5
4
8
 
5
9
  Fix broken evaluation of specified machines in the command line.
@@ -15,6 +15,8 @@ module VagrantPlugins
15
15
  if event.nil?
16
16
  @app.call(env)
17
17
  else
18
+ env[:ui].detail "[vagrant-lifecycle] Evaluating lifecycle event #{event} run list..."
19
+
18
20
  chef_provisioners = env[:machine].config.vm.provisioners.select do |provisioner|
19
21
  # Vagrant 1.7 changes provisioner.name to provisioner.type
20
22
  if provisioner.respond_to? :type
@@ -9,8 +9,7 @@ module VagrantPlugins
9
9
 
10
10
  [:machine_action_up, :machine_action_reload, :machine_action_provision].each do |action|
11
11
  action_hook(:lifecycle_provision, action) do |hook|
12
- # contrary to how this might sound, this hook is run before :run_provisioner
13
- hook.after Vagrant::Action::Builtin::Provision, Action::EvalLifecycleRunList
12
+ hook.before(Vagrant::Action::Builtin::Provision, Action::EvalLifecycleRunList)
14
13
  end
15
14
  end
16
15
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Lifecycle
3
- VERSION = '0.1.5'
3
+ VERSION = '0.1.6'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-lifecycle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikola Stojiljkovic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-04 00:00:00.000000000 Z
11
+ date: 2018-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler