vagrant-managed-servers 0.5.1 → 0.6.0
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/CHANGELOG.md +6 -0
- data/Vagrantfile +38 -38
- data/lib/vagrant-managed-servers/action/{is_created.rb → is_linked.rb} +3 -3
- data/lib/vagrant-managed-servers/action/message_already_linked.rb +16 -0
- data/lib/vagrant-managed-servers/action/message_not_linked.rb +16 -0
- data/lib/vagrant-managed-servers/action/message_not_reachable.rb +1 -1
- data/lib/vagrant-managed-servers/action/read_state.rb +1 -1
- data/lib/vagrant-managed-servers/action/warn_networks.rb +44 -1
- data/lib/vagrant-managed-servers/action.rb +169 -124
- data/lib/vagrant-managed-servers/version.rb +1 -1
- data/locales/en.yml +51 -46
- metadata +18 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14f7566ccb9f36363dd30feae7caaeefe36db5a7
|
4
|
+
data.tar.gz: ec76f1b2835abe0d17617fd6e76f89e6d9f398ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f96cc8598d543ca2c2302f6fd8c6417735d409bd78667258ad21edb6607a864b773134de4c68d68bc5b1f6484b6d8905c68aa73426e4498fba4ad6cc513a9485
|
7
|
+
data.tar.gz: ab80499991a333bed8376397d2aee99183b9162b713d06f9ab5bf7b1e8b160b6fb04b121ee85f469829b6db94bcadeda79526bfc22fafe4730b1e241a586bc88
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
|
2
2
|
# Changelog
|
3
3
|
|
4
|
+
## 0.6.0 (released 2015-03-16)
|
5
|
+
|
6
|
+
* add missing translation for `vagrant status` ([#35](https://github.com/tknerr/vagrant-managed-servers/issues/35), thanks @warrenseine for reporting!)
|
7
|
+
* actually check whether a server is linked before doing any other action (fixes [#34](https://github.com/tknerr/vagrant-managed-servers/issues/34), thanks @warrenseine for reporting!)
|
8
|
+
* fix the annoying network configuration warning so that it's shown only when necessary ([#37](https://github.com/tknerr/vagrant-managed-servers/pull/37))
|
9
|
+
|
4
10
|
## 0.5.1 (released 2015-02-15)
|
5
11
|
|
6
12
|
* fix bug where `vagrant help` failed due a leftover command declaration ([#32](https://github.com/tknerr/vagrant-managed-servers/pull/32), thanks @chrisbaldauf for reporting!)
|
data/Vagrantfile
CHANGED
@@ -1,38 +1,38 @@
|
|
1
|
-
# -*- mode: ruby -*-
|
2
|
-
# vi: set ft=ruby :
|
3
|
-
|
4
|
-
Vagrant.configure("2") do |config|
|
5
|
-
|
6
|
-
#
|
7
|
-
# fake a managed server by bringing up a virtualbox vm
|
8
|
-
#
|
9
|
-
config.vm.define :fake_managed_server do |fms_config|
|
10
|
-
fms_config.vm.box = "chef/ubuntu-12.04-i386"
|
11
|
-
fms_config.vm.network :private_network, ip: "192.168.40.35"
|
12
|
-
fms_config.berkshelf.enabled = false
|
13
|
-
end
|
14
|
-
|
15
|
-
#
|
16
|
-
# configure managed provider to connect to `fake_managed_server`
|
17
|
-
#
|
18
|
-
config.vm.define :my_server do |ms_config|
|
19
|
-
|
20
|
-
ms_config.vm.box = "tknerr/managed-server-dummy"
|
21
|
-
|
22
|
-
ms_config.omnibus.chef_version = "12.0.3"
|
23
|
-
ms_config.berkshelf.enabled = true
|
24
|
-
|
25
|
-
ms_config.vm.provider :managed do |managed_config, override|
|
26
|
-
managed_config.server = "192.168.40.35"
|
27
|
-
override.ssh.username = "vagrant"
|
28
|
-
override.ssh.private_key_path = ".vagrant/machines/fake_managed_server/virtualbox/private_key"
|
29
|
-
end
|
30
|
-
|
31
|
-
ms_config.vm.provision :chef_solo do |chef|
|
32
|
-
chef.cookbooks_path = [ './cookbooks' ]
|
33
|
-
chef.add_recipe "apt"
|
34
|
-
chef.add_recipe "apache2"
|
35
|
-
end
|
36
|
-
end
|
37
|
-
|
38
|
-
end
|
1
|
+
# -*- mode: ruby -*-
|
2
|
+
# vi: set ft=ruby :
|
3
|
+
|
4
|
+
Vagrant.configure("2") do |config|
|
5
|
+
|
6
|
+
#
|
7
|
+
# fake a managed server by bringing up a virtualbox vm
|
8
|
+
#
|
9
|
+
config.vm.define :fake_managed_server do |fms_config|
|
10
|
+
fms_config.vm.box = "chef/ubuntu-12.04-i386"
|
11
|
+
fms_config.vm.network :private_network, ip: "192.168.40.35"
|
12
|
+
fms_config.berkshelf.enabled = false
|
13
|
+
end
|
14
|
+
|
15
|
+
#
|
16
|
+
# configure managed provider to connect to `fake_managed_server`
|
17
|
+
#
|
18
|
+
config.vm.define :my_server do |ms_config|
|
19
|
+
|
20
|
+
ms_config.vm.box = "tknerr/managed-server-dummy"
|
21
|
+
|
22
|
+
ms_config.omnibus.chef_version = "12.0.3"
|
23
|
+
ms_config.berkshelf.enabled = true
|
24
|
+
|
25
|
+
ms_config.vm.provider :managed do |managed_config, override|
|
26
|
+
managed_config.server = "192.168.40.35"
|
27
|
+
override.ssh.username = "vagrant"
|
28
|
+
override.ssh.private_key_path = ".vagrant/machines/fake_managed_server/virtualbox/private_key"
|
29
|
+
end
|
30
|
+
|
31
|
+
ms_config.vm.provision :chef_solo do |chef|
|
32
|
+
chef.cookbooks_path = [ './cookbooks' ]
|
33
|
+
chef.add_recipe "apt"
|
34
|
+
chef.add_recipe "apache2"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
@@ -2,14 +2,14 @@ module VagrantPlugins
|
|
2
2
|
module ManagedServers
|
3
3
|
module Action
|
4
4
|
# This can be used with "Call" built-in to check if the machine
|
5
|
-
# is
|
6
|
-
class
|
5
|
+
# is linked and branch in the middleware.
|
6
|
+
class IsLinked
|
7
7
|
def initialize(app, env)
|
8
8
|
@app = app
|
9
9
|
end
|
10
10
|
|
11
11
|
def call(env)
|
12
|
-
env[:result] = env[:machine].state.id != :
|
12
|
+
env[:result] = env[:machine].state.id != :not_linked
|
13
13
|
@app.call(env)
|
14
14
|
end
|
15
15
|
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module VagrantPlugins
|
2
|
+
module ManagedServers
|
3
|
+
module Action
|
4
|
+
class MessageAlreadyLinked
|
5
|
+
def initialize(app, env)
|
6
|
+
@app = app
|
7
|
+
end
|
8
|
+
|
9
|
+
def call(env)
|
10
|
+
env[:ui].info(I18n.t("vagrant_managed_servers.states.long_already_linked"))
|
11
|
+
@app.call(env)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module VagrantPlugins
|
2
|
+
module ManagedServers
|
3
|
+
module Action
|
4
|
+
class MessageNotLinked
|
5
|
+
def initialize(app, env)
|
6
|
+
@app = app
|
7
|
+
end
|
8
|
+
|
9
|
+
def call(env)
|
10
|
+
env[:ui].info(I18n.t("vagrant_managed_servers.states.long_not_linked"))
|
11
|
+
@app.call(env)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -7,12 +7,55 @@ module VagrantPlugins
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def call(env)
|
10
|
-
if env
|
10
|
+
if custom_networking_defined?(env)
|
11
11
|
env[:ui].warn(I18n.t("vagrant_managed_servers.warn_networks"))
|
12
12
|
end
|
13
13
|
|
14
14
|
@app.call(env)
|
15
15
|
end
|
16
|
+
|
17
|
+
def custom_networking_defined?(env)
|
18
|
+
communicator = env[:machine].config.vm.communicator
|
19
|
+
network_configs = env[:machine].config.vm.networks
|
20
|
+
custom_network_configs = (network_configs - default_network_configs(communicator))
|
21
|
+
custom_network_configs.any?
|
22
|
+
end
|
23
|
+
|
24
|
+
#
|
25
|
+
# these are the port forwardings which are always created by default, see:
|
26
|
+
# https://github.com/mitchellh/vagrant/blob/a8dcf92f14/plugins/kernel_v2/config/vm.rb#L393-417
|
27
|
+
#
|
28
|
+
def default_network_configs(communicator)
|
29
|
+
winrm = [:forwarded_port, {
|
30
|
+
guest: 5985,
|
31
|
+
host: 55985,
|
32
|
+
host_ip: "127.0.0.1",
|
33
|
+
id: "winrm",
|
34
|
+
auto_correct: true,
|
35
|
+
protocol: "tcp"
|
36
|
+
}]
|
37
|
+
winrm_ssl = [:forwarded_port, {
|
38
|
+
guest: 5986,
|
39
|
+
host: 55986,
|
40
|
+
host_ip: "127.0.0.1",
|
41
|
+
id: "winrm-ssl",
|
42
|
+
auto_correct: true,
|
43
|
+
protocol: "tcp"
|
44
|
+
}]
|
45
|
+
ssh = [:forwarded_port, {
|
46
|
+
guest: 22,
|
47
|
+
host: 2222,
|
48
|
+
host_ip: "127.0.0.1",
|
49
|
+
id: "ssh",
|
50
|
+
auto_correct: true,
|
51
|
+
protocol: "tcp"
|
52
|
+
}]
|
53
|
+
if communicator == :winrm
|
54
|
+
[ winrm, winrm_ssl ]
|
55
|
+
else
|
56
|
+
[ ssh ]
|
57
|
+
end
|
58
|
+
end
|
16
59
|
end
|
17
60
|
end
|
18
61
|
end
|
@@ -1,124 +1,169 @@
|
|
1
|
-
require "pathname"
|
2
|
-
|
3
|
-
require "vagrant/action/builder"
|
4
|
-
|
5
|
-
module VagrantPlugins
|
6
|
-
module ManagedServers
|
7
|
-
module Action
|
8
|
-
# Include the built-in modules so we can use them as top-level things.
|
9
|
-
include Vagrant::Action::Builtin
|
10
|
-
|
11
|
-
# This action is called to establish linkage between vagrant and the managed server
|
12
|
-
def self.action_up
|
13
|
-
Vagrant::Action::Builder.new.tap do |b|
|
14
|
-
if Vagrant::VERSION < '1.5.0'
|
15
|
-
b.use HandleBoxUrl
|
16
|
-
else
|
17
|
-
b.use HandleBox
|
18
|
-
end
|
19
|
-
b.use ConfigValidate
|
20
|
-
b.use WarnNetworks
|
21
|
-
b.use
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
b.use
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
1
|
+
require "pathname"
|
2
|
+
|
3
|
+
require "vagrant/action/builder"
|
4
|
+
|
5
|
+
module VagrantPlugins
|
6
|
+
module ManagedServers
|
7
|
+
module Action
|
8
|
+
# Include the built-in modules so we can use them as top-level things.
|
9
|
+
include Vagrant::Action::Builtin
|
10
|
+
|
11
|
+
# This action is called to establish linkage between vagrant and the managed server
|
12
|
+
def self.action_up
|
13
|
+
Vagrant::Action::Builder.new.tap do |b|
|
14
|
+
if Vagrant::VERSION < '1.5.0'
|
15
|
+
b.use HandleBoxUrl
|
16
|
+
else
|
17
|
+
b.use HandleBox
|
18
|
+
end
|
19
|
+
b.use ConfigValidate
|
20
|
+
b.use WarnNetworks
|
21
|
+
b.use Call, IsLinked do |env, b2|
|
22
|
+
if env[:result]
|
23
|
+
b2.use MessageAlreadyLinked
|
24
|
+
next
|
25
|
+
end
|
26
|
+
|
27
|
+
b2.use LinkServer
|
28
|
+
end
|
29
|
+
=begin
|
30
|
+
b.use HandleBoxUrl
|
31
|
+
b.use ConfigValidate
|
32
|
+
b.use Call, IsReachable do |env, b2|
|
33
|
+
if env[:result]
|
34
|
+
b2.use !MessageNotReachable
|
35
|
+
next
|
36
|
+
end
|
37
|
+
|
38
|
+
b2.use Provision
|
39
|
+
b2.use SyncFolders
|
40
|
+
b2.use WarnNetworks
|
41
|
+
b2.use LinkServer
|
42
|
+
end
|
43
|
+
=end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# This action is called to "unlink" vagrant from the managed server
|
48
|
+
def self.action_destroy
|
49
|
+
Vagrant::Action::Builder.new.tap do |b|
|
50
|
+
b.use ConfigValidate
|
51
|
+
b.use Call, IsLinked do |env, b2|
|
52
|
+
if !env[:result]
|
53
|
+
b2.use MessageNotLinked
|
54
|
+
next
|
55
|
+
end
|
56
|
+
|
57
|
+
b2.use UnlinkServer
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
# This action is called when `vagrant provision` is called.
|
63
|
+
def self.action_provision
|
64
|
+
Vagrant::Action::Builder.new.tap do |b|
|
65
|
+
b.use ConfigValidate
|
66
|
+
b.use WarnNetworks
|
67
|
+
b.use Call, IsLinked do |env, b2|
|
68
|
+
if !env[:result]
|
69
|
+
b2.use MessageNotLinked
|
70
|
+
next
|
71
|
+
end
|
72
|
+
|
73
|
+
b2.use Call, IsReachable do |env, b3|
|
74
|
+
if !env[:result]
|
75
|
+
b3.use MessageNotReachable
|
76
|
+
next
|
77
|
+
end
|
78
|
+
|
79
|
+
b3.use Provision
|
80
|
+
b3.use SyncFolders
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
# This action is called to read the state of the machine. The
|
87
|
+
# resulting state is expected to be put into the `:machine_state_id`
|
88
|
+
# key.
|
89
|
+
def self.action_read_state
|
90
|
+
Vagrant::Action::Builder.new.tap do |b|
|
91
|
+
b.use ConfigValidate
|
92
|
+
b.use ReadState
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# This action is called to SSH into the machine.
|
97
|
+
def self.action_ssh
|
98
|
+
Vagrant::Action::Builder.new.tap do |b|
|
99
|
+
b.use ConfigValidate
|
100
|
+
b.use WarnNetworks
|
101
|
+
b.use Call, IsLinked do |env, b2|
|
102
|
+
if !env[:result]
|
103
|
+
b2.use MessageNotLinked
|
104
|
+
next
|
105
|
+
end
|
106
|
+
|
107
|
+
b2.use Call, IsReachable do |env, b3|
|
108
|
+
if !env[:result]
|
109
|
+
b3.use MessageNotReachable
|
110
|
+
next
|
111
|
+
end
|
112
|
+
|
113
|
+
b3.use SSHExec
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
def self.action_ssh_run
|
120
|
+
Vagrant::Action::Builder.new.tap do |b|
|
121
|
+
b.use ConfigValidate
|
122
|
+
b.use WarnNetworks
|
123
|
+
b.use Call, IsLinked do |env, b2|
|
124
|
+
if !env[:result]
|
125
|
+
b2.use MessageNotLinked
|
126
|
+
next
|
127
|
+
end
|
128
|
+
|
129
|
+
b2.use Call, IsReachable do |env, b3|
|
130
|
+
if !env[:result]
|
131
|
+
b3.use MessageNotReachable
|
132
|
+
next
|
133
|
+
end
|
134
|
+
|
135
|
+
b3.use SSHRun
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
def self.action_reload
|
142
|
+
Vagrant::Action::Builder.new.tap do |b|
|
143
|
+
b.use Call, IsLinked do |env, b2|
|
144
|
+
if !env[:result]
|
145
|
+
b2.use MessageNotLinked
|
146
|
+
next
|
147
|
+
end
|
148
|
+
|
149
|
+
b2.use RebootServer
|
150
|
+
end
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
# The autoload farm
|
155
|
+
action_root = Pathname.new(File.expand_path("../action", __FILE__))
|
156
|
+
autoload :IsLinked, action_root.join("is_linked")
|
157
|
+
autoload :IsReachable, action_root.join("is_reachable")
|
158
|
+
autoload :MessageNotReachable, action_root.join("message_not_reachable")
|
159
|
+
autoload :MessageNotLinked, action_root.join("message_not_linked")
|
160
|
+
autoload :MessageAlreadyLinked, action_root.join("message_already_linked")
|
161
|
+
autoload :ReadState, action_root.join("read_state")
|
162
|
+
autoload :SyncFolders, action_root.join("sync_folders")
|
163
|
+
autoload :WarnNetworks, action_root.join("warn_networks")
|
164
|
+
autoload :LinkServer, action_root.join("link_server")
|
165
|
+
autoload :UnlinkServer, action_root.join("unlink_server")
|
166
|
+
autoload :RebootServer, action_root.join("reboot_server")
|
167
|
+
end
|
168
|
+
end
|
169
|
+
end
|
data/locales/en.yml
CHANGED
@@ -1,46 +1,51 @@
|
|
1
|
-
en:
|
2
|
-
vagrant_managed_servers:
|
3
|
-
|
4
|
-
The
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
1
|
+
en:
|
2
|
+
vagrant_managed_servers:
|
3
|
+
warn_networks: |-
|
4
|
+
Warning! The ManagedServers provider doesn't support any of the Vagrant
|
5
|
+
high-level network configurations (`config.vm.network`). They will be ignored.
|
6
|
+
rsync_not_found_warning: |-
|
7
|
+
Warning! Folder sync disabled because the rsync binary is missing.
|
8
|
+
Make sure rsync is installed and the binary can be found in the PATH.
|
9
|
+
rsync_folder: |-
|
10
|
+
Rsyncing folder: %{hostpath} => %{guestpath}
|
11
|
+
winrm_upload: |-
|
12
|
+
Uploading with WinRM: %{hostpath} => %{guestpath}
|
13
|
+
linking_server: |-
|
14
|
+
Linking with managed server %{host}
|
15
|
+
unlinking_server: |-
|
16
|
+
Unlinking from managed server %{host}
|
17
|
+
rebooting_server: |-
|
18
|
+
Rebooting managed server %{host}
|
19
|
+
waiting_for_server: |-
|
20
|
+
Waiting for %{host} to reboot
|
21
|
+
states:
|
22
|
+
short_not_linked: |-
|
23
|
+
not linked
|
24
|
+
long_not_linked: |-
|
25
|
+
The managed server is not linked.
|
26
|
+
short_already_linked: |-
|
27
|
+
already linked
|
28
|
+
long_already_linked: |-
|
29
|
+
The managed server is already linked.
|
30
|
+
short_not_reachable: |-
|
31
|
+
not reachable
|
32
|
+
long_not_reachable: |-
|
33
|
+
The managed server is not reachable. Check if the `config.managed.server` is correct.
|
34
|
+
short_running: |-
|
35
|
+
running
|
36
|
+
long_running: |-
|
37
|
+
The managed server is running. To ssh into this machine, you can run
|
38
|
+
`vagrant ssh`. To provision the machine, you can run `vagrant provision`.
|
39
|
+
config:
|
40
|
+
server_required: |-
|
41
|
+
The IP or hostname of the server must be configured via "server"
|
42
|
+
private_key_missing: |-
|
43
|
+
The specified private key could not be found
|
44
|
+
errors:
|
45
|
+
rsync_error: |-
|
46
|
+
There was an error when attemping to rsync a shared folder.
|
47
|
+
Please inspect the error message below for more info.
|
48
|
+
|
49
|
+
Host path: %{hostpath}
|
50
|
+
Guest path: %{guestpath}
|
51
|
+
Error: %{stderr}
|
metadata
CHANGED
@@ -1,69 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-managed-servers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Torben Knerr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 2.14.7
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 2.14.7
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec-expectations
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 2.14.5
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 2.14.5
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec-mocks
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 2.14.6
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 2.14.6
|
69
69
|
description: Enables Vagrant to ssh into and provision managed servers.
|
@@ -72,8 +72,8 @@ executables: []
|
|
72
72
|
extensions: []
|
73
73
|
extra_rdoc_files: []
|
74
74
|
files:
|
75
|
-
- .gitignore
|
76
|
-
- .travis.yml
|
75
|
+
- ".gitignore"
|
76
|
+
- ".travis.yml"
|
77
77
|
- Berksfile
|
78
78
|
- CHANGELOG.md
|
79
79
|
- Gemfile
|
@@ -84,9 +84,11 @@ files:
|
|
84
84
|
- dummy.box
|
85
85
|
- lib/vagrant-managed-servers.rb
|
86
86
|
- lib/vagrant-managed-servers/action.rb
|
87
|
-
- lib/vagrant-managed-servers/action/
|
87
|
+
- lib/vagrant-managed-servers/action/is_linked.rb
|
88
88
|
- lib/vagrant-managed-servers/action/is_reachable.rb
|
89
89
|
- lib/vagrant-managed-servers/action/link_server.rb
|
90
|
+
- lib/vagrant-managed-servers/action/message_already_linked.rb
|
91
|
+
- lib/vagrant-managed-servers/action/message_not_linked.rb
|
90
92
|
- lib/vagrant-managed-servers/action/message_not_reachable.rb
|
91
93
|
- lib/vagrant-managed-servers/action/read_state.rb
|
92
94
|
- lib/vagrant-managed-servers/action/reboot_server.rb
|
@@ -112,19 +114,18 @@ require_paths:
|
|
112
114
|
- lib
|
113
115
|
required_ruby_version: !ruby/object:Gem::Requirement
|
114
116
|
requirements:
|
115
|
-
- -
|
117
|
+
- - ">="
|
116
118
|
- !ruby/object:Gem::Version
|
117
119
|
version: '0'
|
118
120
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
121
|
requirements:
|
120
|
-
- -
|
122
|
+
- - ">="
|
121
123
|
- !ruby/object:Gem::Version
|
122
124
|
version: 1.3.6
|
123
125
|
requirements: []
|
124
126
|
rubyforge_project: vagrant-managed-servers
|
125
|
-
rubygems_version: 2.4.
|
127
|
+
rubygems_version: 2.4.5
|
126
128
|
signing_key:
|
127
129
|
specification_version: 4
|
128
130
|
summary: Enables Vagrant to ssh into and provision managed servers.
|
129
131
|
test_files: []
|
130
|
-
has_rdoc:
|