vagrant-rsync 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.gitignore +2 -0
- data/Gemfile +3 -0
- data/Guardfile +8 -0
- data/Vagrantfile.testing +29 -0
- data/lib/command.rb +1 -2
- data/lib/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZGNmMGI2Mjc4NTBmN2ExNjc2YjBkMDFjZjliZjJhODgxYmFkYjBiOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDhjYjVhY2EyMjgwZWE5ODEzOWQxYzBjNjYzMjJhZGExZWMxY2RmNA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDNiMjgxNTc2M2U0NzgzMGM5ZjNhZTRlYmY4MWMyN2ZlMWNmODE2OTljYzk0
|
10
|
+
YTIxOWQ0MWIwOWZlY2QyNTM1NDBkNmJlMDE0NTg3ZWQ4ZTlmNTJhNTIyMTg3
|
11
|
+
OTA3Y2JiYjBmMDUxZmFlNDFhZDdmZjc1MjEyOTZjZTIxYjdlZjg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGUwZTNkNjk3N2Y2YzI2Nzk5ODdmNzE4OTg5ZWFmMTNiMTdhMjE5ZWNiYzQ4
|
14
|
+
ZDFhYTQzNWU4MmQ2NDM4MTE5MDk2MmM4MGY2NDQyNDQ3ODQ3YzE2NGFkMDg3
|
15
|
+
ZWJiMGNhODU5NTU3YmRiMmZlZGFlYzkzNWQ4OWFkY2YxMjU2MGU=
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/Guardfile
ADDED
data/Vagrantfile.testing
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# -*- mode: ruby -*-
|
2
|
+
# vi: set ft=ruby :
|
3
|
+
|
4
|
+
# to test this plugin, just copy this file to ./Vagrantfile
|
5
|
+
# and replace your aws credentials
|
6
|
+
|
7
|
+
|
8
|
+
Vagrant.configure("2") do |config|
|
9
|
+
# All Vagrant configuration is done here. The most common configuration
|
10
|
+
# options are documented and commented below. For a complete reference,
|
11
|
+
# please see the online documentation at vagrantup.com.
|
12
|
+
|
13
|
+
# Every Vagrant virtual environment requires a box to build off of.
|
14
|
+
config.vm.box = "dummy"
|
15
|
+
|
16
|
+
# The url from where the 'config.vm.box' box will be fetched if it
|
17
|
+
# doesn't already exist on the user's system.
|
18
|
+
config.vm.box_url = "https://github.com/mitchellh/vagrant-aws/raw/master/dummy.box"
|
19
|
+
|
20
|
+
config.vm.provider :aws do |aws|
|
21
|
+
aws.access_key_id = "your_key"
|
22
|
+
aws.secret_access_key = "your_secret"
|
23
|
+
aws.keypair_name = "your_keypair"
|
24
|
+
aws.ssh_private_key_path = "your_keypair_secret_path"
|
25
|
+
|
26
|
+
aws.ami = "ami-7747d01e"
|
27
|
+
aws.ssh_username = "ubuntu"
|
28
|
+
end
|
29
|
+
end
|
data/lib/command.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'optparse'
|
2
|
-
require 'pp'
|
3
2
|
module VagrantPlugins
|
4
3
|
module CommandRSYNC
|
5
4
|
class Command < Vagrant.plugin("2", :command)
|
@@ -34,7 +33,7 @@ module VagrantPlugins
|
|
34
33
|
rsync_options << '-vvv' if options[:verbose]
|
35
34
|
|
36
35
|
command = [
|
37
|
-
"rsync", "--verbose", "--archive", "-z",
|
36
|
+
"rsync", "--verbose", "--delete", "--archive", "-z",
|
38
37
|
"--exclude", ".vagrant/",
|
39
38
|
"-e", "ssh -p #{ssh_info[:port]} -o StrictHostKeyChecking=no -i '#{ssh_info[:private_key_path]}'",
|
40
39
|
hostpath,
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-rsync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bill Cromie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-04-
|
11
|
+
date: 2013-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -32,6 +32,7 @@ extensions: []
|
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
34
|
- Gemfile
|
35
|
+
- Guardfile
|
35
36
|
- lib/command.rb
|
36
37
|
- lib/plugin.rb
|
37
38
|
- lib/vagrant-rsync.rb
|
@@ -40,6 +41,7 @@ files:
|
|
40
41
|
- RakeFile
|
41
42
|
- README.md
|
42
43
|
- vagrant-rsync.gemspec
|
44
|
+
- Vagrantfile.testing
|
43
45
|
- .gitignore
|
44
46
|
homepage: https://github.com/cromulus/vagrant-rsync
|
45
47
|
licenses: []
|