vagrant-sptsync 0.0.59 → 0.0.61

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: 942fe228f933a83aa5c892f25048fec175cafe26
4
- data.tar.gz: 69480b9707fcd646f226acb1cf4db49670d0b467
3
+ metadata.gz: fab58d5d172cbe62ff281a0e890ea6d5165ed8fe
4
+ data.tar.gz: 15395e34dd01738b36b729753762c5565020b1b8
5
5
  SHA512:
6
- metadata.gz: 94c23e5f91ec7addac3b5e21a4d685b03b5dce0ba0b3eb1a61daad55bf802755b7ae0bcd5cc19df638ac9749626142decc98b507b432846f9489e5d114207250
7
- data.tar.gz: 5b280217664aff9c6540b810b75e6617b38daba6e61eeffee3a55d019c62caf2192fa2cf81a559bb2a60aa8fc6775719ed16af9cce2fbdf92ac1ad3bef7ea893
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
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module SPTSync
3
- VERSION = "0.0.59"
3
+ VERSION = "0.0.61"
4
4
  end
5
5
  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.59
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: 2015-12-16 00:00:00.000000000 Z
11
+ date: 2016-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler