vagrant-persistent-storage 0.0.50 → 0.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70372f7ae94e67e8709aed0ee9dda7e7e287abdfd3533df560cfe1f386a50634
|
4
|
+
data.tar.gz: f1d58384039d96679ddea52af6f1e7930cb278a20a312bf76d79f02b14a0e4b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee52e0e025dcea93d0ba676624ebd79b10194c578af1dcf9df2877ca60d96dcdff8d27fa01bfe0b2a959c2a276fe56408bbdf86f7bd713e828e6233ca4d9c9a2
|
7
|
+
data.tar.gz: 589c3649a6976912da03d66ad4cc1f312d0fb2f44aeb2bcefae39ac8138c7ae195f9f046c3e8fc94009180e5f40df97a74f3caff9bb3877dad48d3fcbaa3952a
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -126,6 +126,8 @@ If your box is not using LVM you must set `config.persistent_storage.use_lvm = f
|
|
126
126
|
* [Symaxion](https://github.com/Symaxion)
|
127
127
|
* [Alex Pyrgiotis](https://github.com/apyrgio)
|
128
128
|
* [qdetweiler](https://github.com/qdetweiler)
|
129
|
+
* [Jacob Christensen](https://github.com/jakex10sen)
|
130
|
+
* [roccotigger](https://github.com/roccotigger)
|
129
131
|
|
130
132
|
## TODO
|
131
133
|
|
@@ -28,7 +28,7 @@ module VagrantPlugins
|
|
28
28
|
# check config to see if the disk should be created
|
29
29
|
return @app.call(env) unless env[:machine].config.persistent_storage.create?
|
30
30
|
|
31
|
-
if File.
|
31
|
+
if File.exist?(File.expand_path(env[:machine].config.persistent_storage.location))
|
32
32
|
@logger.info '** Persistent Storage Volume exists, not creating **'
|
33
33
|
env[:ui].info I18n.t("vagrant_persistent_storage.action.not_creating")
|
34
34
|
@app.call(env)
|
@@ -166,7 +166,7 @@ module VagrantPlugins
|
|
166
166
|
|
167
167
|
machine.ui.info "Using #{machine.config.persistent_storage.location} for persistent storage."
|
168
168
|
|
169
|
-
if ! File.
|
169
|
+
if ! File.exist?@location.to_s and ! @create == "true"
|
170
170
|
errors << I18n.t('vagrant_persistent_storage.config.no_create_and_missing', {
|
171
171
|
:config_key => 'persistent_storage.create',
|
172
172
|
:is_path => location.class.to_s,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-persistent-storage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.51
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Kusnier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|