vagrant-dotvm 0.21.0 → 0.22.0
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/vagrant-dotvm/config/provision.rb +11 -0
- data/lib/vagrant-dotvm/config/sharedfolder.rb +15 -5
- data/lib/vagrant-dotvm/configinjecter.rb +41 -16
- data/lib/vagrant-dotvm/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e61617b6c8037edf6137b108869e8400f6003883
|
4
|
+
data.tar.gz: 2523cc9d0483dc33685acfe5b273a8b7687ce541
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e72ac7c413f1f0bc4bbc50a06a015c36bfb5a01a40a06e56abde21eb69287521f11b2ffd875b7c6d2b2aad92bc6479e9c366de2be1b69bd96ba8204edae13a64
|
7
|
+
data.tar.gz: 523d487fabcbf02be560a840f82c77033c54d8bc5f40d4769d3393f63cfdfb28462e1eb0d587aeca57623e010816b690934512d46e4754a83a74ef6f61233894
|
data/CHANGELOG.md
CHANGED
@@ -17,6 +17,17 @@ module VagrantPlugins
|
|
17
17
|
attr_accessor :hiera_config_path
|
18
18
|
attr_accessor :environment
|
19
19
|
attr_accessor :environment_path
|
20
|
+
attr_accessor :binary
|
21
|
+
attr_accessor :upload_path
|
22
|
+
attr_accessor :keep_color
|
23
|
+
attr_accessor :name
|
24
|
+
attr_accessor :powershell_args
|
25
|
+
attr_accessor :facter
|
26
|
+
attr_accessor :options
|
27
|
+
attr_accessor :synced_folder_type
|
28
|
+
attr_accessor :synced_folder_args
|
29
|
+
attr_accessor :temp_dir
|
30
|
+
attr_accessor :working_directory
|
20
31
|
end
|
21
32
|
end
|
22
33
|
end
|
@@ -7,11 +7,21 @@ module VagrantPlugins
|
|
7
7
|
attr_accessor :disabled
|
8
8
|
attr_accessor :create
|
9
9
|
attr_accessor :type
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
10
|
+
attr_accessor :group
|
11
|
+
attr_accessor :mount_options
|
12
|
+
attr_accessor :owner
|
13
|
+
attr_accessor :nfs_export
|
14
|
+
attr_accessor :nfs_udp
|
15
|
+
attr_accessor :nfs_version
|
16
|
+
attr_accessor :rsync__args
|
17
|
+
attr_accessor :rsync__auto
|
18
|
+
attr_accessor :rsync__chown
|
19
|
+
attr_accessor :rsync__exclude
|
20
|
+
attr_accessor :rsync__rsync_path
|
21
|
+
attr_accessor :rsync__verbose
|
22
|
+
attr_accessor :smb_host
|
23
|
+
attr_accessor :smb_password
|
24
|
+
attr_accessor :smb_username
|
15
25
|
end
|
16
26
|
end
|
17
27
|
end
|
@@ -76,27 +76,52 @@ module VagrantPlugins
|
|
76
76
|
|
77
77
|
machine_cfg.provision.each do |provision|
|
78
78
|
machine.vm.provision provision.type, run: provision.run do |p|
|
79
|
-
p.path
|
80
|
-
p.inline
|
81
|
-
p.args
|
82
|
-
p.privileged
|
83
|
-
p.source
|
84
|
-
p.destination
|
85
|
-
p.module_path
|
86
|
-
p.manifest_file
|
87
|
-
p.manifests_path
|
88
|
-
p.binary_path
|
89
|
-
p.hiera_config_path
|
90
|
-
p.environment
|
91
|
-
p.environment_path
|
79
|
+
p.path = provision.path unless provision.path.nil?
|
80
|
+
p.inline = provision.inline unless provision.inline.nil?
|
81
|
+
p.args = provision.args unless provision.args.nil?
|
82
|
+
p.privileged = provision.privileged unless provision.privileged.nil?
|
83
|
+
p.source = provision.source unless provision.source.nil?
|
84
|
+
p.destination = provision.destination unless provision.destination.nil?
|
85
|
+
p.module_path = provision.module_path unless provision.module_path.nil?
|
86
|
+
p.manifest_file = provision.manifest_file unless provision.manifest_file.nil?
|
87
|
+
p.manifests_path = provision.manifests_path unless provision.manifests_path.nil?
|
88
|
+
p.binary_path = provision.binary_path unless provision.binary_path.nil?
|
89
|
+
p.hiera_config_path = provision.hiera_config_path unless provision.hiera_config_path.nil?
|
90
|
+
p.environment = provision.environment unless provision.environment.nil?
|
91
|
+
p.environment_path = provision.environment_path unless provision.environment_path.nil?
|
92
|
+
p.binary = provision.binary unless provision.binary.nil?
|
93
|
+
p.upload_path = provision.upload_path unless provision.upload_path.nil?
|
94
|
+
p.keep_color = provision.keep_color unless provision.keep_color.nil?
|
95
|
+
p.name = provision.name unless provision.name.nil?
|
96
|
+
p.powershell_args = provision.powershell_args unless provision.powershell_args.nil?
|
97
|
+
p.facter = provision.facter unless provision.facter.nil?
|
98
|
+
p.options = provision.options unless provision.options.nil?
|
99
|
+
p.synced_folder_type = provision.synced_folder_type unless provision.synced_folder_type.nil?
|
100
|
+
p.temp_dir = provision.temp_dir unless provision.temp_dir.nil?
|
101
|
+
p.working_directory = provision.working_directory unless provision.working_directory.nil?
|
92
102
|
end
|
93
103
|
end
|
94
104
|
|
95
105
|
machine_cfg.shared_folders.each do |folder|
|
96
106
|
hash = {}
|
97
|
-
hash[:disabled]
|
98
|
-
hash[:create]
|
99
|
-
hash[:type]
|
107
|
+
hash[:disabled] = folder.disabled unless folder.disabled.nil?
|
108
|
+
hash[:create] = folder.create unless folder.create.nil?
|
109
|
+
hash[:type] = folder.type unless folder.type.nil?
|
110
|
+
hash[:group] = folder.group unless folder.group.nil?
|
111
|
+
hash[:mount_options] = folder.mount_options unless folder.mount_options.nil?
|
112
|
+
hash[:owner] = folder.owner unless folder.owner.nil?
|
113
|
+
hash[:nfs_export] = folder.nfs_export unless folder.nfs_export.nil?
|
114
|
+
hash[:nfs_udp] = folder.nfs_udp unless folder.nfs_udp.nil?
|
115
|
+
hash[:nfs_version] = folder.nfs_version unless folder.nfs_version.nil?
|
116
|
+
hash[:rsync__args] = folder.rsync__args unless folder.rsync__args.nil?
|
117
|
+
hash[:rsync__auto] = folder.rsync__auto unless folder.rsync__auto.nil?
|
118
|
+
hash[:rsync__chown] = folder.rsync__chown unless folder.rsync__chown.nil?
|
119
|
+
hash[:rsync__exclude] = folder.rsync__exclude unless folder.rsync__exclude.nil?
|
120
|
+
hash[:rsync__rsync_path] = folder.rsync__rsync_path unless folder.rsync__rsync_path.nil?
|
121
|
+
hash[:rsync__verbose] = folder.rsync__verbose unless folder.rsync__verbose.nil?
|
122
|
+
hash[:smb_host] = folder.smb_host unless folder.smb_host.nil?
|
123
|
+
hash[:smb_password] = folder.smb_password unless folder.smb_password.nil?
|
124
|
+
hash[:smb_username] = folder.smb_username unless folder.smb_username.nil?
|
100
125
|
|
101
126
|
machine.vm.synced_folder folder.host, folder.guest, **hash
|
102
127
|
end
|