vagrant-sptsync 0.0.59 → 0.0.61
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/lib/vagrant-sptsync/commands/root.rb +1 -1
- data/lib/vagrant-sptsync/plugin.rb +21 -0
- data/lib/vagrant-sptsync/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: fab58d5d172cbe62ff281a0e890ea6d5165ed8fe
|
|
4
|
+
data.tar.gz: 15395e34dd01738b36b729753762c5565020b1b8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4560c4a1877c257c2a1b93a8643d47a355a6abe58b1c53f028321b8f2bb0af123fa2d832a040a5a9c19c24518537ba331f7356c3b52d808ec1d7c92c2ea882b2
|
|
7
|
+
data.tar.gz: 37f926286c4a7cd9a96e407ed3905c9e56b554a3681a457e5b4faf064cf8e05dd2be79fe984b275f1cb21bb85141a1c372a1267fc8ddeec538002b5037859783
|
|
@@ -68,7 +68,7 @@ module VagrantPlugins
|
|
|
68
68
|
files_dir = "/var/www/sites/virtual/deploy/shared/#{drush}/files/"
|
|
69
69
|
server_name = "tn-#{server}-web00.lax.spehosting.com"
|
|
70
70
|
commands = {
|
|
71
|
-
"downloading files" => "sudo -E rsync --recursive --compress --times --rsh='ssh -l deploy' #{server_name}:#{files_dir} #{files_dir}",
|
|
71
|
+
"downloading files" => "sudo -E rsync --recursive --compress --times --rsh='ssh -l deploy' #{server_name}:#{files_dir} #{files_dir} --exclude=cdn --exclude=css --exclude=js --exclude=languages --exclude=styles --exclude=xmlsitemap",
|
|
72
72
|
"setting file owner" => "sudo chown -R deploy:apache #{files_dir}",
|
|
73
73
|
"setting css file owner" => "sudo chown -R apache:apache #{files_dir}css",
|
|
74
74
|
"setting cdn file owner" => "sudo chown -R apache:apache #{files_dir}cdn",
|
|
@@ -15,6 +15,27 @@ module VagrantPlugins
|
|
|
15
15
|
Command::Root
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
+
module ProviderVirtualBox
|
|
19
|
+
module Action
|
|
20
|
+
# Re-ad the routes when reloading.
|
|
21
|
+
def self.action_reload
|
|
22
|
+
puts "reloading routes"
|
|
23
|
+
Vagrant::Action::Builder.new.tap do |b|
|
|
24
|
+
b.use CheckVirtualbox
|
|
25
|
+
b.use Call, Created do |env1, b2|
|
|
26
|
+
if !env1[:result]
|
|
27
|
+
b2.use MessageNotCreated
|
|
28
|
+
next
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
b2.use ConfigValidate
|
|
32
|
+
b2.use action_halt
|
|
33
|
+
# TODO: Figure out how to get the IPs dynamically.
|
|
34
|
+
system("sudo route -nv add -net 10.10.10.0/24 -interface vboxnet0")
|
|
35
|
+
b2.use action_start
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
18
39
|
end
|
|
19
40
|
end
|
|
20
41
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vagrant-sptsync
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.61
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sean Sehr
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-01-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|