vop-plugins 0.3.1 → 0.3.5

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.
Files changed (195) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -2
  3. data/extended/hetzner/commands/add_ssh_key.rb +22 -0
  4. data/extended/hetzner/commands/disable_linux_install.rb +26 -0
  5. data/extended/hetzner/commands/enable_linux_install.rb +41 -0
  6. data/extended/hetzner/commands/hetzner_http.rb +24 -0
  7. data/extended/hetzner/commands/hetzner_machines.rb +11 -0
  8. data/extended/hetzner/commands/hetzner_server_list.rb +26 -0
  9. data/extended/hetzner/commands/linux_install_options.rb +29 -0
  10. data/extended/hetzner/commands/list_ssh_keys.rb +16 -0
  11. data/extended/hetzner/entities/hetzner_account.rb +9 -0
  12. data/extended/hetzner/hetzner.plugin +3 -0
  13. data/extended/hetzner_vop_0_2_x/commands/list_old_v2_vms.rb +46 -0
  14. data/extended/hetzner_vop_0_2_x/commands/old_libvirt_machines.rb +16 -0
  15. data/extended/hetzner_vop_0_2_x/commands/vop_0_2_x_ssh_options.rb +20 -0
  16. data/extended/hetzner_vop_0_2_x/hetzner_vop_0_2_x.plugin +5 -0
  17. data/extended/libvirt/commands/delete_vm.rb +32 -0
  18. data/extended/libvirt/commands/libvirt_config_file.rb +5 -0
  19. data/extended/libvirt/commands/libvirt_machines.rb +17 -0
  20. data/extended/libvirt/commands/libvirt_ssh_options.rb +29 -0
  21. data/extended/libvirt/commands/list_networks.rb +21 -0
  22. data/extended/libvirt/commands/list_pools.rb +20 -0
  23. data/extended/libvirt/commands/list_vms.rb +28 -0
  24. data/extended/libvirt/commands/list_vms_for_scan.rb +12 -0
  25. data/extended/libvirt/commands/list_vms_with_addresses.rb +20 -0
  26. data/extended/libvirt/commands/new_vm.rb +110 -0
  27. data/extended/libvirt/commands/parent.rb +10 -0
  28. data/extended/libvirt/commands/rename_vm.rb +34 -0
  29. data/extended/libvirt/commands/start_vm.rb +7 -0
  30. data/extended/libvirt/commands/stop_vm.rb +8 -0
  31. data/extended/libvirt/commands/vm_address.rb +7 -0
  32. data/extended/libvirt/commands/vm_addresses.rb +32 -0
  33. data/extended/libvirt/commands/vnc_ports.rb +32 -0
  34. data/extended/libvirt/helpers/helper.rb +3 -0
  35. data/extended/libvirt/libvirt.plugin +5 -0
  36. data/extended/libvirt/services/libvirt.rb +19 -0
  37. data/extended/libvirt_with_proxy/commands/reverse_proxy.rb +13 -0
  38. data/extended/libvirt_with_proxy/commands/vms_with_domains.rb +18 -0
  39. data/extended/libvirt_with_proxy/entities/_vms_with_domains.rbx +24 -0
  40. data/extended/libvirt_with_proxy/libvirt_with_proxy.plugin +1 -0
  41. data/extended/rails_machines/commands/rails_machines.rb +6 -0
  42. data/extended/rails_machines/commands/update_status.rb +38 -0
  43. data/extended/rails_machines/commands/write_found_machines_into_rails_db.rb.not +30 -0
  44. data/extended/rails_machines/rails_machines.plugin +1 -0
  45. data/extended/redis_cache/commands/flush_cache.rb +5 -0
  46. data/extended/redis_cache/commands/invalidate_cache.rb +26 -0
  47. data/extended/redis_cache/filters/cache_filter.rb +78 -0
  48. data/extended/redis_cache/helpers/cache_wrapper.rb +35 -0
  49. data/extended/redis_cache/redis_cache.plugin +8 -0
  50. data/extended/spares/commands/convert_spare.rb +93 -0
  51. data/extended/spares/commands/list_spares.rb +9 -0
  52. data/extended/spares/commands/new_vm_from_spare.rb +24 -0
  53. data/extended/spares/commands/post_convert_spare.rb +13 -0
  54. data/extended/spares/commands/prepare_spares.rb +17 -0
  55. data/extended/spares/commands/wait.rb +29 -0
  56. data/extended/spares/commands/wtf.rb +9 -0
  57. data/extended/spares/spares.plugin +1 -0
  58. data/standard/apt/apt.plugin +0 -0
  59. data/standard/apt/commands/add_apt_repo.rb +14 -0
  60. data/standard/git/commands/deploy.rb +19 -0
  61. data/standard/git/commands/deploy_from_git.rb +34 -0
  62. data/standard/git/commands/deploy_from_github.rb +12 -0
  63. data/standard/git/commands/git_clone.rb +7 -0
  64. data/standard/git/commands/git_clone_web.rb +22 -0
  65. data/standard/git/git.plugin +0 -0
  66. data/standard/linux/commands/append_to_file.rb +14 -0
  67. data/standard/linux/commands/chmod.rb +7 -0
  68. data/standard/linux/commands/curl.rb +15 -0
  69. data/standard/linux/commands/current_user.rb +5 -0
  70. data/standard/linux/commands/distro.rb +2 -1
  71. data/standard/linux/commands/download_file.rb +6 -6
  72. data/standard/linux/commands/external_ip.rb +15 -0
  73. data/standard/linux/commands/file_exists.rb +7 -0
  74. data/standard/linux/commands/home.rb +7 -0
  75. data/standard/linux/commands/hostname.rb +5 -0
  76. data/standard/linux/commands/internal_ip.rb +14 -0
  77. data/standard/linux/commands/ipaddress.rb +10 -0
  78. data/standard/linux/commands/list_files.rb +8 -6
  79. data/standard/linux/commands/list_ip_addresses.rb +22 -0
  80. data/standard/linux/commands/listen_ports.rb +3 -2
  81. data/standard/linux/commands/maybe_sudo.rb +8 -0
  82. data/standard/linux/commands/mkdirs.rb +12 -0
  83. data/standard/linux/commands/processes.rb +8 -6
  84. data/standard/linux/commands/processes_like.rb +7 -7
  85. data/standard/linux/commands/processes_top.rb +23 -0
  86. data/standard/linux/commands/processes_top_cpu.rb +8 -0
  87. data/standard/linux/commands/processes_top_mem.rb +8 -0
  88. data/standard/linux/commands/read_file.rb +7 -2
  89. data/standard/linux/commands/replace_in_file.rb +22 -0
  90. data/standard/linux/commands/set_hostname.rb +36 -0
  91. data/standard/linux/commands/update_hosts_file.rb +27 -0
  92. data/standard/linux/commands/write_file.rb +8 -21
  93. data/standard/linux/linux.plugin +1 -2
  94. data/standard/machines/commands/delete_old_machines.rb +17 -0
  95. data/standard/machines/commands/localhost.rb +7 -2
  96. data/standard/machines/commands/localhost_ssh_options.rb +9 -0
  97. data/standard/machines/commands/new_machine.rb +24 -0
  98. data/standard/machines/commands/new_vm_from_scratch.rb +25 -0
  99. data/standard/machines/commands/old_machines.rb +6 -0
  100. data/standard/machines/commands/select_machine.rb +4 -5
  101. data/standard/machines/entities/machine.rb +12 -0
  102. data/standard/machines/machines.plugin +1 -1
  103. data/standard/redis_machines/commands/installation_status.rb +10 -0
  104. data/standard/redis_machines/commands/track_installation_status.rb +13 -0
  105. data/standard/redis_machines/redis_machines.plugin +3 -0
  106. data/standard/rpm/commands/list_rpm_packages.rb +24 -0
  107. data/standard/rpm/rpm.plugin +1 -0
  108. data/standard/scanner/commands/clean_metadata.rb +8 -0
  109. data/standard/scanner/commands/fresh_ssh_test.rb +6 -0
  110. data/standard/scanner/commands/inspect_async.rb +6 -0
  111. data/standard/scanner/commands/inspect_machine.rb +42 -0
  112. data/standard/scanner/commands/machines_found.rb +35 -0
  113. data/standard/scanner/commands/metadata.rb +9 -0
  114. data/standard/scanner/commands/redis_machines.rb +11 -0
  115. data/standard/scanner/commands/scan.rb +5 -0
  116. data/standard/scanner/commands/scan_host.rb +7 -0
  117. data/standard/scanner/commands/scan_machines.rb +11 -0
  118. data/standard/scanner/commands/trigger_ssh_test.rb +8 -0
  119. data/standard/scanner/scanner.plugin +5 -0
  120. data/standard/services/commands/describe_service.rb +7 -0
  121. data/standard/services/commands/describe_service_installation.rb +13 -0
  122. data/standard/services/commands/detect_services.rb +34 -0
  123. data/standard/services/commands/install_service.rb +134 -0
  124. data/standard/services/commands/list_known_services.rb +14 -0
  125. data/standard/services/commands/load_plugin_services.rb +17 -0
  126. data/standard/services/entities/service.rb +3 -0
  127. data/standard/services/helpers/service.rb +31 -0
  128. data/standard/services/helpers/service_loader.rb +50 -0
  129. data/standard/services/helpers/service_syntax.rb +126 -0
  130. data/standard/services/services.plugin +9 -0
  131. data/standard/ssh/commands/clean_known_host.rb +11 -0
  132. data/standard/ssh/commands/clear_ssh_cache.rb +9 -0
  133. data/standard/ssh/commands/get_ssh_connection.rb +36 -0
  134. data/standard/ssh/commands/scp_down.rb +9 -0
  135. data/standard/ssh/commands/scp_up.rb +9 -0
  136. data/standard/ssh/commands/ssh.rb +20 -0
  137. data/standard/ssh/commands/ssh_call.rb +98 -0
  138. data/standard/ssh/commands/ssh_connection.rb +55 -0
  139. data/standard/ssh/commands/ssh_extended.rb +6 -0
  140. data/standard/ssh/commands/ssh_options.rb +12 -0
  141. data/standard/ssh/commands/sudo.rb +12 -0
  142. data/standard/ssh/commands/test_ssh.rb +43 -0
  143. data/standard/{linux → ssh}/helpers/regex.rb +0 -0
  144. data/standard/ssh/ssh.plugin +10 -0
  145. data/standard/ssh_keys/commands/add_authorized_key.rb +14 -0
  146. data/standard/ssh_keys/commands/disable_ssh_key_check.rb +11 -0
  147. data/standard/ssh_keys/commands/generate_keypair.rb +17 -0
  148. data/standard/ssh_keys/ssh_keys.plugin +0 -0
  149. data/standard/systemd/commands/disable_systemd_service.rb +8 -0
  150. data/standard/systemd/commands/enable_systemd_service.rb +8 -0
  151. data/standard/systemd/commands/list_systemd_services.rb +23 -0
  152. data/standard/systemd/commands/start_systemd_service.rb +6 -0
  153. data/standard/systemd/commands/stop_systemd_service.rb +6 -0
  154. data/standard/systemd/commands/systemd_service_status.rb +6 -0
  155. data/standard/systemd/commands/write_systemd_config.rb +16 -0
  156. data/standard/systemd/helpers/param_service.rb +7 -0
  157. data/standard/systemd/systemd.plugin +0 -0
  158. data/standard/systemd/templates/systemd_service.erb +11 -0
  159. data/standard/templates/commands/read_template.rb +8 -0
  160. data/standard/templates/commands/write_template.rb +37 -0
  161. data/standard/templates/templates.plugin +3 -0
  162. data/vop-plugins.gemspec +6 -7
  163. metadata +156 -55
  164. data/Gemfile +0 -3
  165. data/Gemfile.lock +0 -68
  166. data/standard/debian-iso/commands/fetch_debian_iso.rb +0 -3
  167. data/standard/debian-iso/commands/fetch_ubuntu_iso.rb +0 -22
  168. data/standard/debian-iso/commands/list_isos.rb +0 -6
  169. data/standard/debian-iso/commands/rebuild_debian_iso.rb +0 -40
  170. data/standard/debian-iso/debian-iso.plugin +0 -2
  171. data/standard/debian-iso/files/rebuild-debian-iso +0 -74
  172. data/standard/debian-iso/templates/preseed.cfg +0 -45
  173. data/standard/libvirt/commands/delete_vm.rb +0 -16
  174. data/standard/libvirt/commands/list_local_vms.rb +0 -4
  175. data/standard/libvirt/commands/list_vms.rb +0 -15
  176. data/standard/libvirt/commands/new_vm.rb +0 -61
  177. data/standard/libvirt/commands/start_vm.rb +0 -6
  178. data/standard/libvirt/commands/stop_vm.rb +0 -6
  179. data/standard/libvirt/libvirt.plugin +0 -2
  180. data/standard/linux/commands/disk_free.rb +0 -26
  181. data/standard/linux/commands/disk_used.rb +0 -4
  182. data/standard/linux/commands/find.rb +0 -15
  183. data/standard/linux/commands/mkdir.rb +0 -6
  184. data/standard/linux/todo +0 -2
  185. data/standard/machines/commands/list_machines_old.rb +0 -7
  186. data/standard/machines/commands/machine.rb +0 -3
  187. data/standard/machines/commands/run_command.rb +0 -10
  188. data/standard/plugin.vop +0 -1
  189. data/standard/services/loader/service.rb +0 -3
  190. data/standard/vagrant/commands/vagrant_global_status.rb +0 -32
  191. data/standard/vagrant/vagrant.plugin +0 -1
  192. data/standard/working_copies/commands/git_working_copies.rb +0 -11
  193. data/standard/working_copies/commands/list_project_folders.rb +0 -8
  194. data/standard/working_copies/commands/working_copy.rb +0 -3
  195. data/standard/working_copies/working_copies.plugin +0 -1
@@ -0,0 +1,6 @@
1
+ param! :machine
2
+ param_service
3
+
4
+ run do |machine, service|
5
+ machine.ssh("systemctl status #{service}")
6
+ end
@@ -0,0 +1,16 @@
1
+ param! :machine
2
+ param! "name"
3
+ param! "exec_start", "path to a script/executable to run"
4
+ param "description"
5
+ param "user"
6
+
7
+ run do |plugin, machine, name, exec_start, description, user|
8
+ machine.write_template(
9
+ template: plugin.template_path("systemd_service"),
10
+ to: "/etc/systemd/system/#{name}.service",
11
+ bind: binding
12
+ )
13
+ machine.sudo "systemctl daemon-reload"
14
+
15
+ machine.list_systemd_services!
16
+ end
@@ -0,0 +1,7 @@
1
+ def param_service
2
+ param! "service",
3
+ default_param: true,
4
+ lookup: lambda { |params|
5
+ @op.list_systemd_services("machine" => params["machine"] ).map { |x| x["name"] }
6
+ }
7
+ end
File without changes
@@ -0,0 +1,11 @@
1
+ [Unit]
2
+ Description=<%= description %>
3
+
4
+ [Service]
5
+ <% unless user.nil? %>
6
+ User=<%= user %>
7
+ <% end %>
8
+ ExecStart=<%= exec_start %>
9
+
10
+ [Install]
11
+ WantedBy=multi-user.target
@@ -0,0 +1,8 @@
1
+ param! "template"
2
+ param "vars", default: {}
3
+
4
+ run do |template, vars|
5
+ renderer = ERB.new(IO.read(template))
6
+ bind = OpenStruct.new(vars).instance_eval { binding }
7
+ renderer.result(bind)
8
+ end
@@ -0,0 +1,37 @@
1
+ param! :machine
2
+ param! "template"
3
+ param! "to"
4
+ param "bind", default: nil
5
+
6
+ run do |machine, template, to, params, bind|
7
+ tmp = Tempfile.new("vop_write_template")
8
+ begin
9
+ renderer = ERB.new(IO.read(template))
10
+ tmp << renderer.result(bind)
11
+ tmp.flush
12
+ $logger.debug "processed template written into #{tmp.path}"
13
+ begin
14
+ machine.scp_up("local_path" => tmp.path, "remote_path" => to)
15
+ rescue => detail
16
+ # TODO move this maneuver into something like write_file ?
17
+ if detail.message =~ /Permission denied/
18
+ $logger.info "could not scp as mortal user into #{to}, gonna scp into /tmp and then sudo-mv"
19
+ $logger.debug detail.message
20
+ remote_tmp = Dir::Tmpname.make_tmpname(["/tmp/vop_template"], nil)
21
+ begin
22
+ machine.scp_up("local_path" => tmp.path, "remote_path" => remote_tmp)
23
+ machine.sudo("mv #{remote_tmp} #{to}")
24
+ ensure
25
+ if machine.file_exists(remote_tmp)
26
+ machine.ssh("rm #{remote_tmp}")
27
+ end
28
+ end
29
+ else
30
+ raise detail
31
+ end
32
+ end
33
+
34
+ ensure
35
+ tmp.close
36
+ end
37
+ end
@@ -0,0 +1,3 @@
1
+ require "erb"
2
+ require "tempfile"
3
+ require "tmpdir"
@@ -1,14 +1,15 @@
1
- # coding: utf-8
2
- require 'vop'
1
+ # encoding: utf-8
2
+ #require 'vop'
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "vop-plugins"
6
- spec.version = Vop::VERSION
6
+ spec.version = "0.3.5"
7
7
  spec.authors = ["Philipp T."]
8
8
  spec.email = ["philipp@virtualop.org"]
9
9
 
10
10
  spec.summary = %q{Default plugins for the virtualop (see gem "vop").}
11
11
  spec.description = %q{The standard plugins are always loaded in a normal vop installation, the extended ones only if configured.}
12
+ spec.licenses = ['WTFPL']
12
13
  spec.homepage = "http://www.virtualop.org"
13
14
 
14
15
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -16,9 +17,7 @@ Gem::Specification.new do |spec|
16
17
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
17
18
  spec.require_paths = ["lib"]
18
19
 
19
- spec.add_dependency "vop", ">= 0.3.0"
20
-
21
20
  spec.add_development_dependency "bundler", "~> 1.10"
22
- spec.add_development_dependency "rake"
23
- spec.add_development_dependency "rspec"
21
+ spec.add_development_dependency "rake", "~> 0"
22
+ spec.add_development_dependency "rspec", "~> 0"
24
23
  end
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vop-plugins
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philipp T.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-23 00:00:00.000000000 Z
11
+ date: 2018-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: vop
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 0.3.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.3.0
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: bundler
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -42,28 +28,28 @@ dependencies:
42
28
  name: rake
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - ">="
31
+ - - "~>"
46
32
  - !ruby/object:Gem::Version
47
33
  version: '0'
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - ">="
38
+ - - "~>"
53
39
  - !ruby/object:Gem::Version
54
40
  version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rspec
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - ">="
45
+ - - "~>"
60
46
  - !ruby/object:Gem::Version
61
47
  version: '0'
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - ">="
52
+ - - "~>"
67
53
  - !ruby/object:Gem::Version
68
54
  version: '0'
69
55
  description: The standard plugins are always loaded in a normal vop installation,
@@ -76,55 +62,170 @@ extra_rdoc_files: []
76
62
  files:
77
63
  - ".gitignore"
78
64
  - ".project"
79
- - Gemfile
80
- - Gemfile.lock
81
65
  - Rakefile
82
- - standard/debian-iso/commands/fetch_debian_iso.rb
83
- - standard/debian-iso/commands/fetch_ubuntu_iso.rb
84
- - standard/debian-iso/commands/list_isos.rb
85
- - standard/debian-iso/commands/rebuild_debian_iso.rb
86
- - standard/debian-iso/debian-iso.plugin
87
- - standard/debian-iso/files/rebuild-debian-iso
88
- - standard/debian-iso/templates/preseed.cfg
89
- - standard/libvirt/commands/delete_vm.rb
90
- - standard/libvirt/commands/list_local_vms.rb
91
- - standard/libvirt/commands/list_vms.rb
92
- - standard/libvirt/commands/new_vm.rb
93
- - standard/libvirt/commands/start_vm.rb
94
- - standard/libvirt/commands/stop_vm.rb
95
- - standard/libvirt/libvirt.plugin
96
- - standard/linux/commands/disk_free.rb
97
- - standard/linux/commands/disk_used.rb
66
+ - extended/hetzner/commands/add_ssh_key.rb
67
+ - extended/hetzner/commands/disable_linux_install.rb
68
+ - extended/hetzner/commands/enable_linux_install.rb
69
+ - extended/hetzner/commands/hetzner_http.rb
70
+ - extended/hetzner/commands/hetzner_machines.rb
71
+ - extended/hetzner/commands/hetzner_server_list.rb
72
+ - extended/hetzner/commands/linux_install_options.rb
73
+ - extended/hetzner/commands/list_ssh_keys.rb
74
+ - extended/hetzner/entities/hetzner_account.rb
75
+ - extended/hetzner/hetzner.plugin
76
+ - extended/hetzner_vop_0_2_x/commands/list_old_v2_vms.rb
77
+ - extended/hetzner_vop_0_2_x/commands/old_libvirt_machines.rb
78
+ - extended/hetzner_vop_0_2_x/commands/vop_0_2_x_ssh_options.rb
79
+ - extended/hetzner_vop_0_2_x/hetzner_vop_0_2_x.plugin
80
+ - extended/libvirt/commands/delete_vm.rb
81
+ - extended/libvirt/commands/libvirt_config_file.rb
82
+ - extended/libvirt/commands/libvirt_machines.rb
83
+ - extended/libvirt/commands/libvirt_ssh_options.rb
84
+ - extended/libvirt/commands/list_networks.rb
85
+ - extended/libvirt/commands/list_pools.rb
86
+ - extended/libvirt/commands/list_vms.rb
87
+ - extended/libvirt/commands/list_vms_for_scan.rb
88
+ - extended/libvirt/commands/list_vms_with_addresses.rb
89
+ - extended/libvirt/commands/new_vm.rb
90
+ - extended/libvirt/commands/parent.rb
91
+ - extended/libvirt/commands/rename_vm.rb
92
+ - extended/libvirt/commands/start_vm.rb
93
+ - extended/libvirt/commands/stop_vm.rb
94
+ - extended/libvirt/commands/vm_address.rb
95
+ - extended/libvirt/commands/vm_addresses.rb
96
+ - extended/libvirt/commands/vnc_ports.rb
97
+ - extended/libvirt/helpers/helper.rb
98
+ - extended/libvirt/libvirt.plugin
99
+ - extended/libvirt/services/libvirt.rb
100
+ - extended/libvirt_with_proxy/commands/reverse_proxy.rb
101
+ - extended/libvirt_with_proxy/commands/vms_with_domains.rb
102
+ - extended/libvirt_with_proxy/entities/_vms_with_domains.rbx
103
+ - extended/libvirt_with_proxy/libvirt_with_proxy.plugin
104
+ - extended/rails_machines/commands/rails_machines.rb
105
+ - extended/rails_machines/commands/update_status.rb
106
+ - extended/rails_machines/commands/write_found_machines_into_rails_db.rb.not
107
+ - extended/rails_machines/rails_machines.plugin
108
+ - extended/redis_cache/commands/flush_cache.rb
109
+ - extended/redis_cache/commands/invalidate_cache.rb
110
+ - extended/redis_cache/filters/cache_filter.rb
111
+ - extended/redis_cache/helpers/cache_wrapper.rb
112
+ - extended/redis_cache/redis_cache.plugin
113
+ - extended/spares/commands/convert_spare.rb
114
+ - extended/spares/commands/list_spares.rb
115
+ - extended/spares/commands/new_vm_from_spare.rb
116
+ - extended/spares/commands/post_convert_spare.rb
117
+ - extended/spares/commands/prepare_spares.rb
118
+ - extended/spares/commands/wait.rb
119
+ - extended/spares/commands/wtf.rb
120
+ - extended/spares/spares.plugin
121
+ - standard/apt/apt.plugin
122
+ - standard/apt/commands/add_apt_repo.rb
123
+ - standard/git/commands/deploy.rb
124
+ - standard/git/commands/deploy_from_git.rb
125
+ - standard/git/commands/deploy_from_github.rb
126
+ - standard/git/commands/git_clone.rb
127
+ - standard/git/commands/git_clone_web.rb
128
+ - standard/git/git.plugin
129
+ - standard/linux/commands/append_to_file.rb
130
+ - standard/linux/commands/chmod.rb
131
+ - standard/linux/commands/curl.rb
132
+ - standard/linux/commands/current_user.rb
98
133
  - standard/linux/commands/distro.rb
99
134
  - standard/linux/commands/download_file.rb
100
- - standard/linux/commands/find.rb
135
+ - standard/linux/commands/external_ip.rb
136
+ - standard/linux/commands/file_exists.rb
137
+ - standard/linux/commands/home.rb
138
+ - standard/linux/commands/hostname.rb
139
+ - standard/linux/commands/internal_ip.rb
140
+ - standard/linux/commands/ipaddress.rb
101
141
  - standard/linux/commands/list_files.rb
142
+ - standard/linux/commands/list_ip_addresses.rb
102
143
  - standard/linux/commands/listen_ports.rb
103
- - standard/linux/commands/mkdir.rb
144
+ - standard/linux/commands/maybe_sudo.rb
145
+ - standard/linux/commands/mkdirs.rb
104
146
  - standard/linux/commands/processes.rb
105
147
  - standard/linux/commands/processes_like.rb
148
+ - standard/linux/commands/processes_top.rb
149
+ - standard/linux/commands/processes_top_cpu.rb
150
+ - standard/linux/commands/processes_top_mem.rb
106
151
  - standard/linux/commands/read_file.rb
152
+ - standard/linux/commands/replace_in_file.rb
153
+ - standard/linux/commands/set_hostname.rb
154
+ - standard/linux/commands/update_hosts_file.rb
107
155
  - standard/linux/commands/write_file.rb
108
- - standard/linux/helpers/regex.rb
109
156
  - standard/linux/linux.plugin
110
- - standard/linux/todo
111
- - standard/machines/commands/list_machines_old.rb
157
+ - standard/machines/commands/delete_old_machines.rb
112
158
  - standard/machines/commands/localhost.rb
113
- - standard/machines/commands/machine.rb
114
- - standard/machines/commands/run_command.rb
159
+ - standard/machines/commands/localhost_ssh_options.rb
160
+ - standard/machines/commands/new_machine.rb
161
+ - standard/machines/commands/new_vm_from_scratch.rb
162
+ - standard/machines/commands/old_machines.rb
115
163
  - standard/machines/commands/select_machine.rb
164
+ - standard/machines/entities/machine.rb
116
165
  - standard/machines/machines.plugin
117
- - standard/plugin.vop
118
- - standard/services/loader/service.rb
119
- - standard/vagrant/commands/vagrant_global_status.rb
120
- - standard/vagrant/vagrant.plugin
121
- - standard/working_copies/commands/git_working_copies.rb
122
- - standard/working_copies/commands/list_project_folders.rb
123
- - standard/working_copies/commands/working_copy.rb
124
- - standard/working_copies/working_copies.plugin
166
+ - standard/redis_machines/commands/installation_status.rb
167
+ - standard/redis_machines/commands/track_installation_status.rb
168
+ - standard/redis_machines/redis_machines.plugin
169
+ - standard/rpm/commands/list_rpm_packages.rb
170
+ - standard/rpm/rpm.plugin
171
+ - standard/scanner/commands/clean_metadata.rb
172
+ - standard/scanner/commands/fresh_ssh_test.rb
173
+ - standard/scanner/commands/inspect_async.rb
174
+ - standard/scanner/commands/inspect_machine.rb
175
+ - standard/scanner/commands/machines_found.rb
176
+ - standard/scanner/commands/metadata.rb
177
+ - standard/scanner/commands/redis_machines.rb
178
+ - standard/scanner/commands/scan.rb
179
+ - standard/scanner/commands/scan_host.rb
180
+ - standard/scanner/commands/scan_machines.rb
181
+ - standard/scanner/commands/trigger_ssh_test.rb
182
+ - standard/scanner/scanner.plugin
183
+ - standard/services/commands/describe_service.rb
184
+ - standard/services/commands/describe_service_installation.rb
185
+ - standard/services/commands/detect_services.rb
186
+ - standard/services/commands/install_service.rb
187
+ - standard/services/commands/list_known_services.rb
188
+ - standard/services/commands/load_plugin_services.rb
189
+ - standard/services/entities/service.rb
190
+ - standard/services/helpers/service.rb
191
+ - standard/services/helpers/service_loader.rb
192
+ - standard/services/helpers/service_syntax.rb
193
+ - standard/services/services.plugin
194
+ - standard/ssh/commands/clean_known_host.rb
195
+ - standard/ssh/commands/clear_ssh_cache.rb
196
+ - standard/ssh/commands/get_ssh_connection.rb
197
+ - standard/ssh/commands/scp_down.rb
198
+ - standard/ssh/commands/scp_up.rb
199
+ - standard/ssh/commands/ssh.rb
200
+ - standard/ssh/commands/ssh_call.rb
201
+ - standard/ssh/commands/ssh_connection.rb
202
+ - standard/ssh/commands/ssh_extended.rb
203
+ - standard/ssh/commands/ssh_options.rb
204
+ - standard/ssh/commands/sudo.rb
205
+ - standard/ssh/commands/test_ssh.rb
206
+ - standard/ssh/helpers/regex.rb
207
+ - standard/ssh/ssh.plugin
208
+ - standard/ssh_keys/commands/add_authorized_key.rb
209
+ - standard/ssh_keys/commands/disable_ssh_key_check.rb
210
+ - standard/ssh_keys/commands/generate_keypair.rb
211
+ - standard/ssh_keys/ssh_keys.plugin
212
+ - standard/systemd/commands/disable_systemd_service.rb
213
+ - standard/systemd/commands/enable_systemd_service.rb
214
+ - standard/systemd/commands/list_systemd_services.rb
215
+ - standard/systemd/commands/start_systemd_service.rb
216
+ - standard/systemd/commands/stop_systemd_service.rb
217
+ - standard/systemd/commands/systemd_service_status.rb
218
+ - standard/systemd/commands/write_systemd_config.rb
219
+ - standard/systemd/helpers/param_service.rb
220
+ - standard/systemd/systemd.plugin
221
+ - standard/systemd/templates/systemd_service.erb
222
+ - standard/templates/commands/read_template.rb
223
+ - standard/templates/commands/write_template.rb
224
+ - standard/templates/templates.plugin
125
225
  - vop-plugins.gemspec
126
226
  homepage: http://www.virtualop.org
127
- licenses: []
227
+ licenses:
228
+ - WTFPL
128
229
  metadata: {}
129
230
  post_install_message:
130
231
  rdoc_options: []
@@ -142,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
243
  version: '0'
143
244
  requirements: []
144
245
  rubyforge_project:
145
- rubygems_version: 2.5.1
246
+ rubygems_version: 2.5.2.1
146
247
  signing_key:
147
248
  specification_version: 4
148
249
  summary: Default plugins for the virtualop (see gem "vop").
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source 'http://rubygems.org'
2
-
3
- gemspec
@@ -1,68 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- vop-plugins (0.3.1)
5
- vop (>= 0.3.0)
6
-
7
- GEM
8
- remote: http://rubygems.org/
9
- specs:
10
- activesupport (5.0.0.1)
11
- concurrent-ruby (~> 1.0, >= 1.0.2)
12
- i18n (~> 0.7)
13
- minitest (~> 5.1)
14
- tzinfo (~> 1.1)
15
- coderay (1.1.1)
16
- concurrent-ruby (1.0.3)
17
- diff-lcs (1.2.5)
18
- docopt (0.5.0)
19
- i18n (0.7.0)
20
- method_source (0.8.2)
21
- minitest (5.10.1)
22
- net-scp (1.2.1)
23
- net-ssh (>= 2.6.5)
24
- net-ssh (3.2.0)
25
- pry (0.10.4)
26
- coderay (~> 1.1.0)
27
- method_source (~> 0.8.1)
28
- slop (~> 3.4)
29
- rake (12.0.0)
30
- rspec (3.4.0)
31
- rspec-core (~> 3.4.0)
32
- rspec-expectations (~> 3.4.0)
33
- rspec-mocks (~> 3.4.0)
34
- rspec-core (3.4.4)
35
- rspec-support (~> 3.4.0)
36
- rspec-expectations (3.4.0)
37
- diff-lcs (>= 1.2.0, < 2.0)
38
- rspec-support (~> 3.4.0)
39
- rspec-mocks (3.4.1)
40
- diff-lcs (>= 1.2.0, < 2.0)
41
- rspec-support (~> 3.4.0)
42
- rspec-support (3.4.1)
43
- slop (3.6.0)
44
- terminal-table (1.7.3)
45
- unicode-display_width (~> 1.1.1)
46
- thread_safe (0.3.5)
47
- tzinfo (1.2.2)
48
- thread_safe (~> 0.1)
49
- unicode-display_width (1.1.2)
50
- vop (0.3.1)
51
- activesupport
52
- docopt
53
- net-scp
54
- net-ssh
55
- pry
56
- terminal-table
57
-
58
- PLATFORMS
59
- ruby
60
-
61
- DEPENDENCIES
62
- bundler (~> 1.10)
63
- rake
64
- rspec
65
- vop-plugins!
66
-
67
- BUNDLED WITH
68
- 1.10.6