vagrant-veertu 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +11 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +31 -0
  5. data/Rakefile +5 -0
  6. data/lib/vagrant-veertu.rb +18 -0
  7. data/lib/vagrant-veertu/action.rb +330 -0
  8. data/lib/vagrant-veertu/action/boot.rb +21 -0
  9. data/lib/vagrant-veertu/action/check_accessible.rb +22 -0
  10. data/lib/vagrant-veertu/action/check_created.rb +21 -0
  11. data/lib/vagrant-veertu/action/check_running.rb +21 -0
  12. data/lib/vagrant-veertu/action/check_veertu.rb +22 -0
  13. data/lib/vagrant-veertu/action/clear_forwarded_ports.rb +20 -0
  14. data/lib/vagrant-veertu/action/clear_network_interfaces.rb +31 -0
  15. data/lib/vagrant-veertu/action/created.rb +20 -0
  16. data/lib/vagrant-veertu/action/customize.rb +44 -0
  17. data/lib/vagrant-veertu/action/destroy.rb +19 -0
  18. data/lib/vagrant-veertu/action/discard_state.rb +20 -0
  19. data/lib/vagrant-veertu/action/export.rb +41 -0
  20. data/lib/vagrant-veertu/action/forced_halt.rb +25 -0
  21. data/lib/vagrant-veertu/action/forward_ports.rb +91 -0
  22. data/lib/vagrant-veertu/action/import.rb +96 -0
  23. data/lib/vagrant-veertu/action/is_paused.rb +20 -0
  24. data/lib/vagrant-veertu/action/is_running.rb +20 -0
  25. data/lib/vagrant-veertu/action/is_saved.rb +20 -0
  26. data/lib/vagrant-veertu/action/message_already_running.rb +16 -0
  27. data/lib/vagrant-veertu/action/message_not_created.rb +16 -0
  28. data/lib/vagrant-veertu/action/message_not_running.rb +16 -0
  29. data/lib/vagrant-veertu/action/message_will_not_destroy.rb +17 -0
  30. data/lib/vagrant-veertu/action/network.rb +556 -0
  31. data/lib/vagrant-veertu/action/network_fix_ipv6.rb +81 -0
  32. data/lib/vagrant-veertu/action/package.rb +44 -0
  33. data/lib/vagrant-veertu/action/package_vagrantfile.rb +33 -0
  34. data/lib/vagrant-veertu/action/prepare_forwarded_port_collision_params.rb +35 -0
  35. data/lib/vagrant-veertu/action/prepare_nfs_settings.rb +119 -0
  36. data/lib/vagrant-veertu/action/prepare_nfs_valid_ids.rb +17 -0
  37. data/lib/vagrant-veertu/action/resume.rb +21 -0
  38. data/lib/vagrant-veertu/action/sane_defaults.rb +89 -0
  39. data/lib/vagrant-veertu/action/set_name.rb +55 -0
  40. data/lib/vagrant-veertu/action/setup_package_files.rb +51 -0
  41. data/lib/vagrant-veertu/action/snapshot_delete.rb +32 -0
  42. data/lib/vagrant-veertu/action/snapshot_restore.rb +28 -0
  43. data/lib/vagrant-veertu/action/snapshot_save.rb +25 -0
  44. data/lib/vagrant-veertu/action/suspend.rb +20 -0
  45. data/lib/vagrant-veertu/cap.rb +23 -0
  46. data/lib/vagrant-veertu/cap/public_address.rb +15 -0
  47. data/lib/vagrant-veertu/config.rb +199 -0
  48. data/lib/vagrant-veertu/driver/base.rb +240 -0
  49. data/lib/vagrant-veertu/driver/meta.rb +143 -0
  50. data/lib/vagrant-veertu/driver/version_5_0.rb +284 -0
  51. data/lib/vagrant-veertu/errors.rb +18 -0
  52. data/lib/vagrant-veertu/model/forwarded_port.rb +70 -0
  53. data/lib/vagrant-veertu/plugin.rb +76 -0
  54. data/lib/vagrant-veertu/provider.rb +121 -0
  55. data/lib/vagrant-veertu/synced_folder.rb +120 -0
  56. data/lib/vagrant-veertu/util/compile_forwarded_ports.rb +35 -0
  57. data/lib/vagrant-veertu/version.rb +5 -0
  58. data/locales/en.yml +19 -0
  59. data/vagrant-veertu.gemspec +22 -0
  60. metadata +130 -0
@@ -0,0 +1,19 @@
1
+ en:
2
+ vagrant_veertu:
3
+ errors:
4
+ veertumanage_unsupported: |-
5
+ `%{action}` is still not supported by Veertu
6
+ veertumanage_error: |-
7
+ There was an error while executing `VeertuManage`, a CLI used by Vagrant
8
+ for controlling Veertu. The command and stderr is shown below.
9
+
10
+ Command: %{command}
11
+
12
+ Stderr: %{stderr}
13
+ veertumanage_notfound_error: |-
14
+ VeertuManage executable was not found
15
+ vagrant:
16
+ commands:
17
+ status:
18
+ stopped: |-
19
+ The container is currently stopped. Run `vagrant up` to bring it up again.
@@ -0,0 +1,22 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'vagrant-veertu/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "vagrant-veertu"
8
+ spec.version = Vagrant::Veertu::VERSION
9
+ spec.authors = ["Veertu Labs"]
10
+ spec.email = ["support@veertu.com"]
11
+ spec.summary = %q{A Vagrant provider for Veertu}
12
+ spec.homepage = "http://veertu.com"
13
+ spec.license = "MIT"
14
+
15
+ spec.files = `git ls-files -z`.split("\x0")
16
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
+ spec.require_paths = ["lib"]
19
+
20
+ spec.add_runtime_dependency "inifile"
21
+ spec.add_development_dependency "rake", "~> 10.0"
22
+ end
metadata ADDED
@@ -0,0 +1,130 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: vagrant-veertu
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.12
5
+ platform: ruby
6
+ authors:
7
+ - Veertu Labs
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-07-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: inifile
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description:
42
+ email:
43
+ - support@veertu.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - Gemfile
49
+ - LICENSE.txt
50
+ - README.md
51
+ - Rakefile
52
+ - lib/vagrant-veertu.rb
53
+ - lib/vagrant-veertu/action.rb
54
+ - lib/vagrant-veertu/action/boot.rb
55
+ - lib/vagrant-veertu/action/check_accessible.rb
56
+ - lib/vagrant-veertu/action/check_created.rb
57
+ - lib/vagrant-veertu/action/check_running.rb
58
+ - lib/vagrant-veertu/action/check_veertu.rb
59
+ - lib/vagrant-veertu/action/clear_forwarded_ports.rb
60
+ - lib/vagrant-veertu/action/clear_network_interfaces.rb
61
+ - lib/vagrant-veertu/action/created.rb
62
+ - lib/vagrant-veertu/action/customize.rb
63
+ - lib/vagrant-veertu/action/destroy.rb
64
+ - lib/vagrant-veertu/action/discard_state.rb
65
+ - lib/vagrant-veertu/action/export.rb
66
+ - lib/vagrant-veertu/action/forced_halt.rb
67
+ - lib/vagrant-veertu/action/forward_ports.rb
68
+ - lib/vagrant-veertu/action/import.rb
69
+ - lib/vagrant-veertu/action/is_paused.rb
70
+ - lib/vagrant-veertu/action/is_running.rb
71
+ - lib/vagrant-veertu/action/is_saved.rb
72
+ - lib/vagrant-veertu/action/message_already_running.rb
73
+ - lib/vagrant-veertu/action/message_not_created.rb
74
+ - lib/vagrant-veertu/action/message_not_running.rb
75
+ - lib/vagrant-veertu/action/message_will_not_destroy.rb
76
+ - lib/vagrant-veertu/action/network.rb
77
+ - lib/vagrant-veertu/action/network_fix_ipv6.rb
78
+ - lib/vagrant-veertu/action/package.rb
79
+ - lib/vagrant-veertu/action/package_vagrantfile.rb
80
+ - lib/vagrant-veertu/action/prepare_forwarded_port_collision_params.rb
81
+ - lib/vagrant-veertu/action/prepare_nfs_settings.rb
82
+ - lib/vagrant-veertu/action/prepare_nfs_valid_ids.rb
83
+ - lib/vagrant-veertu/action/resume.rb
84
+ - lib/vagrant-veertu/action/sane_defaults.rb
85
+ - lib/vagrant-veertu/action/set_name.rb
86
+ - lib/vagrant-veertu/action/setup_package_files.rb
87
+ - lib/vagrant-veertu/action/snapshot_delete.rb
88
+ - lib/vagrant-veertu/action/snapshot_restore.rb
89
+ - lib/vagrant-veertu/action/snapshot_save.rb
90
+ - lib/vagrant-veertu/action/suspend.rb
91
+ - lib/vagrant-veertu/cap.rb
92
+ - lib/vagrant-veertu/cap/public_address.rb
93
+ - lib/vagrant-veertu/config.rb
94
+ - lib/vagrant-veertu/driver/base.rb
95
+ - lib/vagrant-veertu/driver/meta.rb
96
+ - lib/vagrant-veertu/driver/version_5_0.rb
97
+ - lib/vagrant-veertu/errors.rb
98
+ - lib/vagrant-veertu/model/forwarded_port.rb
99
+ - lib/vagrant-veertu/plugin.rb
100
+ - lib/vagrant-veertu/provider.rb
101
+ - lib/vagrant-veertu/synced_folder.rb
102
+ - lib/vagrant-veertu/util/compile_forwarded_ports.rb
103
+ - lib/vagrant-veertu/version.rb
104
+ - locales/en.yml
105
+ - vagrant-veertu.gemspec
106
+ homepage: http://veertu.com
107
+ licenses:
108
+ - MIT
109
+ metadata: {}
110
+ post_install_message:
111
+ rdoc_options: []
112
+ require_paths:
113
+ - lib
114
+ required_ruby_version: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ required_rubygems_version: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ requirements: []
125
+ rubyforge_project:
126
+ rubygems_version: 2.5.1
127
+ signing_key:
128
+ specification_version: 4
129
+ summary: A Vagrant provider for Veertu
130
+ test_files: []