vagrant-managed-servers 0.5.1 → 0.6.0

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: 445f04ad575586e20633baf0ead9e159cec90776
4
- data.tar.gz: dd27205055a9462408469606fed28f33e1335ca7
3
+ metadata.gz: 14f7566ccb9f36363dd30feae7caaeefe36db5a7
4
+ data.tar.gz: ec76f1b2835abe0d17617fd6e76f89e6d9f398ba
5
5
  SHA512:
6
- metadata.gz: 377246085b0eeeebc8a9a8731f740742f349b42661f6d6cd180cad5561ca2073def2a986eef0bd2b04b03cec9801f4b862e85e38e6313341345e40108af02239
7
- data.tar.gz: ca0ed566920828ed83284144a41cd2b9b9dc601bad82b5b0e110409dd18d7fc87ef3ac87c951b262c054fd112fd48551e5019026f48290bf6944bd98aec9c9fa
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 created and branch in the middleware.
6
- class IsCreated
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 != :not_created
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,7 +7,7 @@ module VagrantPlugins
7
7
  end
8
8
 
9
9
  def call(env)
10
- env[:ui].info(I18n.t("vagrant_managed_servers.host_not_reachable"))
10
+ env[:ui].info(I18n.t("vagrant_managed_servers.states.long_not_reachable"))
11
11
  @app.call(env)
12
12
  end
13
13
  end
@@ -17,7 +17,7 @@ module VagrantPlugins
17
17
  end
18
18
 
19
19
  def read_state(machine)
20
- return :not_created if machine.id.nil?
20
+ return :not_linked if machine.id.nil?
21
21
 
22
22
  ip_address = machine.id
23
23
  =begin
@@ -7,12 +7,55 @@ module VagrantPlugins
7
7
  end
8
8
 
9
9
  def call(env)
10
- if env[:machine].config.vm.networks.length > 0
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 LinkServer
22
- =begin
23
- b.use HandleBoxUrl
24
- b.use ConfigValidate
25
- b.use Call, IsReachable do |env, b2|
26
- if env[:result]
27
- b2.use !MessageNotReachable
28
- next
29
- end
30
-
31
- b2.use Provision
32
- b2.use SyncFolders
33
- b2.use WarnNetworks
34
- b2.use LinkServer
35
- end
36
- =end
37
- end
38
- end
39
-
40
- # This action is called to "unlink" vagrant from the managed server
41
- def self.action_destroy
42
- Vagrant::Action::Builder.new.tap do |b|
43
- b.use ConfigValidate
44
- b.use UnlinkServer
45
- end
46
- end
47
-
48
- # This action is called when `vagrant provision` is called.
49
- def self.action_provision
50
- Vagrant::Action::Builder.new.tap do |b|
51
- b.use ConfigValidate
52
- b.use WarnNetworks
53
- b.use Call, IsReachable do |env, b2|
54
- if !env[:result]
55
- b2.use MessageNotReachable
56
- next
57
- end
58
-
59
- b2.use Provision
60
- b2.use SyncFolders
61
- end
62
- end
63
- end
64
-
65
- # This action is called to read the state of the machine. The
66
- # resulting state is expected to be put into the `:machine_state_id`
67
- # key.
68
- def self.action_read_state
69
- Vagrant::Action::Builder.new.tap do |b|
70
- b.use ConfigValidate
71
- b.use ReadState
72
- end
73
- end
74
-
75
- # This action is called to SSH into the machine.
76
- def self.action_ssh
77
- Vagrant::Action::Builder.new.tap do |b|
78
- b.use ConfigValidate
79
- b.use WarnNetworks
80
- b.use Call, IsReachable do |env, b2|
81
- if !env[:result]
82
- b2.use MessageNotReachable
83
- next
84
- end
85
-
86
- b2.use SSHExec
87
- end
88
- end
89
- end
90
-
91
- def self.action_ssh_run
92
- Vagrant::Action::Builder.new.tap do |b|
93
- b.use ConfigValidate
94
- b.use WarnNetworks
95
- b.use Call, IsReachable do |env, b2|
96
- if !env[:result]
97
- b2.use MessageNotReachable
98
- next
99
- end
100
-
101
- b2.use SSHRun
102
- end
103
- end
104
- end
105
-
106
- def self.action_reload
107
- Vagrant::Action::Builder.new.tap do |b|
108
- b.use RebootServer
109
- end
110
- end
111
-
112
- # The autoload farm
113
- action_root = Pathname.new(File.expand_path("../action", __FILE__))
114
- autoload :IsReachable, action_root.join("is_reachable")
115
- autoload :MessageNotReachable, action_root.join("message_not_reachable")
116
- autoload :ReadState, action_root.join("read_state")
117
- autoload :SyncFolders, action_root.join("sync_folders")
118
- autoload :WarnNetworks, action_root.join("warn_networks")
119
- autoload :LinkServer, action_root.join("link_server")
120
- autoload :UnlinkServer, action_root.join("unlink_server")
121
- autoload :RebootServer, action_root.join("reboot_server")
122
- end
123
- end
124
- end
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
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module ManagedServers
3
- VERSION = "0.5.1"
3
+ VERSION = "0.6.0"
4
4
  end
5
5
  end
data/locales/en.yml CHANGED
@@ -1,46 +1,51 @@
1
- en:
2
- vagrant_managed_servers:
3
- host_not_reachable: |-
4
- The host specified in `config.managed.server` is not reachable.
5
- warn_networks: |-
6
- Warning! The ManagedServers provider doesn't support any of the Vagrant
7
- high-level network configurations (`config.vm.network`). They
8
- will be silently ignored.
9
- rsync_not_found_warning: |-
10
- Warning! Folder sync disabled because the rsync binary is missing.
11
- Make sure rsync is installed and the binary can be found in the PATH.
12
- rsync_folder: |-
13
- Rsyncing folder: %{hostpath} => %{guestpath}
14
- winrm_upload: |-
15
- Uploading with WinRM: %{hostpath} => %{guestpath}
16
- linking_server: |-
17
- Linking vagrant with managed server %{host}
18
- unlinking_server: |-
19
- Unlinking vagrant from managed server %{host}
20
- rebooting_server: |-
21
- Rebooting managed server %{host}
22
- waiting_for_server: |-
23
- Waiting for %{host} to reboot
24
- states:
25
- short_not_reachable: |-
26
- not reachable
27
- long_not_reachable: |-
28
- The managed server is not reachable. Check if the `config.managed.server` is correct.
29
- short_running: |-
30
- running
31
- long_running: |-
32
- The managed server is running. To ssh into this machine, you can run
33
- `vagrant ssh`. To provision the machine, you can run `vagrant provision`.
34
- config:
35
- server_required: |-
36
- The IP or hostname of the server must be configured via "server"
37
- private_key_missing: |-
38
- The specified private key could not be found
39
- errors:
40
- rsync_error: |-
41
- There was an error when attemping to rsync a shared folder.
42
- Please inspect the error message below for more info.
43
-
44
- Host path: %{hostpath}
45
- Guest path: %{guestpath}
46
- Error: %{stderr}
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.5.1
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-02-15 00:00:00.000000000 Z
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/is_created.rb
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.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: