vagrant-databags 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/vagrant-databags/plugin.rb +7 -3
- data/lib/vagrant-databags/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: c724879ec150cb1e877c9be2de2839fdb12a5501
|
4
|
+
data.tar.gz: a64489bae5262f01aa153ff5243ed3a1d2082c8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb1b1e33946cc54524df895339143b54b170da0a913669019197ff5b09adeb241e6bf9957051730dca7674836d9ad6b11d36c60f21ef3cb1aac048027e23cc3a
|
7
|
+
data.tar.gz: b70dc809db76a9397d1f82165d8bfd4e2923c6d589eb6d47f1a1cbc74ea7bc249ac2853c19242d4197fb97097b0b0a0089021416cdae0b519cbda5e64a031f05
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -8,7 +8,11 @@ module VagrantPlugins
|
|
8
8
|
|
9
9
|
[:machine_action_up, :machine_action_reload, :machine_action_provision].each do |action|
|
10
10
|
action_hook(:databags_provision, action) do |hook|
|
11
|
-
|
11
|
+
if ::VagrantPlugins.const_defined?(:Lifecycle) && (Vagrant.has_plugin? 'vagrant-lifecycle')
|
12
|
+
hook.before(VagrantPlugins::Lifecycle::Action::EvalLifecycleRunList, Action::LoadDataBags)
|
13
|
+
else
|
14
|
+
hook.before(Vagrant::Action::Builtin::Provision, Action::LoadDataBags)
|
15
|
+
end
|
12
16
|
hook.after(Vagrant::Action::Builtin::Provision, Action::PersistDataBags)
|
13
17
|
end
|
14
18
|
end
|
@@ -18,8 +22,8 @@ module VagrantPlugins
|
|
18
22
|
end
|
19
23
|
|
20
24
|
action_hook(:databags_provision, :machine_action_destroy) do |hook|
|
21
|
-
|
22
|
-
|
25
|
+
hook.before Vagrant::Action::Builtin::ProvisionerCleanup, Action::DestroyDataBags
|
26
|
+
# hook.before Vagrant::Action::Builtin::DestroyConfirm, Plugin.provisioner_destroy
|
23
27
|
end
|
24
28
|
|
25
29
|
config(:databags) do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-databags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
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-
|
11
|
+
date: 2018-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|