rubber 2.15.2 → 2.16.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +3 -1
- data/CHANGELOG +18 -0
- data/lib/rubber/cloud/vsphere.rb +2 -2
- data/lib/rubber/recipes/rubber.rb +9 -0
- data/lib/rubber/version.rb +1 -1
- data/templates/base/config/deploy.rb +5 -0
- metadata +4 -4
data/.travis.yml
CHANGED
@@ -12,6 +12,7 @@ rvm:
|
|
12
12
|
- 1.9.3
|
13
13
|
- 2.0.0
|
14
14
|
- 2.1
|
15
|
+
- 2.2
|
15
16
|
- ruby-head
|
16
17
|
- jruby-18mode
|
17
18
|
- jruby-19mode
|
@@ -30,6 +31,8 @@ matrix:
|
|
30
31
|
gemfile: Gemfile.1.8.7
|
31
32
|
- rvm: 2.1
|
32
33
|
gemfile: Gemfile.1.8.7
|
34
|
+
- rvm: 2.2
|
35
|
+
gemfile: Gemfile.1.8.7
|
33
36
|
- rvm: ruby-head
|
34
37
|
gemfile: Gemfile.1.8.7
|
35
38
|
- rvm: jruby-18mode
|
@@ -46,7 +49,6 @@ matrix:
|
|
46
49
|
- rvm: 1.8.7
|
47
50
|
- rvm: 1.9.2
|
48
51
|
- rvm: jruby-18mode
|
49
|
-
- rvm: jruby-head
|
50
52
|
- rvm: ruby-head
|
51
53
|
|
52
54
|
# script: bundle exec rspec spec
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,21 @@
|
|
1
|
+
2.16.0 (02/23/2015)
|
2
|
+
|
3
|
+
New Features:
|
4
|
+
============
|
5
|
+
|
6
|
+
[base, core] Added an option to make debugging net-ssh issues much easier. <ae96cfa>
|
7
|
+
|
8
|
+
Improvements:
|
9
|
+
============
|
10
|
+
|
11
|
+
[core] Default to VMXNET 3 Ethernet driver for vSphere. <853fba6>
|
12
|
+
|
13
|
+
Bug Fixes:
|
14
|
+
=========
|
15
|
+
|
16
|
+
[core] Fixed a compatibility issue with net-ssh 2.9.2. <246dbb5>
|
17
|
+
|
18
|
+
|
1
19
|
2.15.2 (01/20/2015)
|
2
20
|
|
3
21
|
Improvements:
|
data/lib/rubber/cloud/vsphere.rb
CHANGED
@@ -87,8 +87,8 @@ module Rubber
|
|
87
87
|
# just start fresh and guarantee everything works as intended.
|
88
88
|
server.interfaces.each(&:destroy)
|
89
89
|
|
90
|
-
server.interfaces.create(:network => env.public_network_name) if host_env.public_nic
|
91
|
-
server.interfaces.create(:network => env.private_network_name) if host_env.private_nic
|
90
|
+
server.interfaces.create(:network => env.public_network_name, :type => 'VirtualVmxnet3') if host_env.public_nic
|
91
|
+
server.interfaces.create(:network => env.private_network_name, :type => 'VirtualVmxnet3') if host_env.private_nic
|
92
92
|
|
93
93
|
vm_ref = compute_provider.send(:get_vm_ref, server.id)
|
94
94
|
vm_ref.CustomizeVM_Task(:spec => customization_spec(instance_alias, nics))
|
@@ -121,6 +121,15 @@ namespace :rubber do
|
|
121
121
|
# auth_methods are used, so we're best off using that unless the methods have already been set explicitly by
|
122
122
|
# the Rubber user elsewhere.
|
123
123
|
ssh_options[:auth_methods] = nil unless ssh_options.has_key?(:auth_methods)
|
124
|
+
|
125
|
+
# Starting with net-ssh 2.9.2, net-ssh will block on a password prompt if a nil password is supplied. This
|
126
|
+
# breaks our discovery and retry logic. To return to the old behavior, we can set set the number of password
|
127
|
+
# prompts to 0. We handle password prompts directly ourselves, using Capistrano's helpers, so this is a
|
128
|
+
# safe thing to do.
|
129
|
+
ssh_options[:number_of_password_prompts] = 0
|
130
|
+
|
131
|
+
# Set the net-ssh log level.
|
132
|
+
ssh_options[:verbose] = fetch(:ssh_log_level, :warn)
|
124
133
|
end
|
125
134
|
|
126
135
|
|
data/lib/rubber/version.rb
CHANGED
@@ -25,6 +25,11 @@ set :password, nil
|
|
25
25
|
# This way exposed services (mongrel) aren't running as a privileged user
|
26
26
|
set :use_sudo, true
|
27
27
|
|
28
|
+
# If you're having troubles connecting to your server, uncommenting this
|
29
|
+
# line will give you more verbose logging output from net-ssh, which will
|
30
|
+
# make debugging the problem much easier.
|
31
|
+
#set :ssh_log_level, :debug
|
32
|
+
|
28
33
|
# How many old releases should be kept around when running "cleanup" task
|
29
34
|
set :keep_releases, 3
|
30
35
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.16.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-
|
13
|
+
date: 2015-02-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: capistrano
|
@@ -732,7 +732,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
732
732
|
version: '0'
|
733
733
|
segments:
|
734
734
|
- 0
|
735
|
-
hash:
|
735
|
+
hash: 3842651331565498107
|
736
736
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
737
737
|
none: false
|
738
738
|
requirements:
|
@@ -741,7 +741,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
741
741
|
version: '0'
|
742
742
|
segments:
|
743
743
|
- 0
|
744
|
-
hash:
|
744
|
+
hash: 3842651331565498107
|
745
745
|
requirements: []
|
746
746
|
rubyforge_project: rubber
|
747
747
|
rubygems_version: 1.8.23.2
|