pvcglue 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pvcglue.rb +1 -0
- data/lib/pvcglue/packages/rvm.rb +1 -0
- data/lib/pvcglue/templates/stage-deploy.rb.erb +7 -2
- data/lib/pvcglue/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b8a9d12da99f44bee4aaab27c630d3fe33dcf60
|
4
|
+
data.tar.gz: 54b10ab3d16c7f94d19daaa8f8206c4cb8334b6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fbf3c40a08a31db2be774103000b1ff6ce583c20c3b196e686aaebf9795d6e36ec52e646f4fe7e26cda635cc7327827d845b3196576bf6cbbc8b1d715b93312
|
7
|
+
data.tar.gz: 165801fa6504e4fb3313c55fedfe73017965f540f8bb7eabdfc5ce77a6834e9947ed980d3ac95649724dc39cd2714fc3496cb0bf6f2b00443eb55ab19cbbf665
|
data/lib/pvcglue.rb
CHANGED
@@ -198,6 +198,7 @@ module Pvcglue
|
|
198
198
|
# puts '-'*80
|
199
199
|
# puts "---> render_template(template=#{template}, file_name=#{file_name}"
|
200
200
|
# Pvcglue.logger.debug { "render_template(template=#{template}, file_name=#{file_name}" }
|
201
|
+
Pvcglue.logger.debug { "render_template(template_file_name=#{Pvcglue.template_file_name(template)}" }
|
201
202
|
data = Tilt.new(Pvcglue.template_file_name(template)).render
|
202
203
|
if file_name
|
203
204
|
File.write(file_name, data)
|
data/lib/pvcglue/packages/rvm.rb
CHANGED
@@ -10,6 +10,7 @@ module Pvcglue
|
|
10
10
|
connection.write_to_file_from_template(user_name, 'web.bashrc.erb', "/home/#{user_name}/.bashrc")
|
11
11
|
|
12
12
|
connection.run_get_stdout!(user_name, '', 'gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3')
|
13
|
+
# connection.run_get_stdout!(user_name, '', 'gpg --keyserver hkp://176.9.51.79 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3')
|
13
14
|
# Do it again, the first time only sets things up, and does not import the keys
|
14
15
|
connection.run!(user_name, '', '\curl -sSL https://get.rvm.io | bash -s stable --with-default-gems=bundler')
|
15
16
|
|
@@ -29,8 +29,13 @@ namespace :sidekiq do
|
|
29
29
|
if host.properties.minion_name == '<%= minion_name %>'
|
30
30
|
begin
|
31
31
|
execute('<%= minion.quiet_all_workers_cmd %>')
|
32
|
-
rescue SSHKit::
|
33
|
-
|
32
|
+
rescue SSHKit::Command::Failed => e
|
33
|
+
if e.message =~ /No main process to kill/
|
34
|
+
puts 'No workers to quiet, moving on.'
|
35
|
+
else
|
36
|
+
puts e.inspect
|
37
|
+
raise
|
38
|
+
end
|
34
39
|
end
|
35
40
|
end
|
36
41
|
<% end %>
|
data/lib/pvcglue/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pvcglue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- T. Andrew Lyric
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|