pele 0.1.11.pre.pre → 0.1.12.pre.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pele/cli.rb +3 -3
- data/lib/pele/version.rb +1 -1
- data/pele.gemspec +0 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aec4459bfaa9e562423f5fec59108fea84ee4b3e
|
4
|
+
data.tar.gz: 35d1e895cfe360bc80347bc86771e278f12b0675
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec590af23d90cca6030116610602102cb9113d01be291fd27a4b103f49ecbcc9a22fd888135923b8d3facb029e8db1ad63c2ff28c86ca010029a6b330a96ab38
|
7
|
+
data.tar.gz: 72245962ad53e3f921c6d9e237120eb60f47528300d9327311edc5668a480258a9234e7f7e4cbd539efed42be98015fbe3f8c2140899ade6a0301ab775f337c1
|
data/lib/pele/cli.rb
CHANGED
@@ -49,14 +49,14 @@ module Pele
|
|
49
49
|
begin
|
50
50
|
ec2 = Aws::EC2::Client.new
|
51
51
|
key_pair = ec2.create_key_pair(key_name: "#{key_pair_name}-pele")
|
52
|
-
create_file "~/.ssh/#{key_pair.key_name}.pem" do
|
52
|
+
create_file (OS.mac? || OS.linux? ? "~/.ssh/#{key_pair.key_name}.pem" : "%HOMEPATH%\.ssh\#{key_pair.key_name}.pem") do
|
53
53
|
key_pair.key_material
|
54
54
|
end
|
55
55
|
say('Key-pair successfully generated', :green)
|
56
56
|
rescue => e
|
57
|
-
say('Something went wrong while trying to create key-pair. Please try again', :
|
57
|
+
say('Something went wrong while trying to create key-pair. Please try again', :cyan)
|
58
58
|
puts ''
|
59
|
-
puts "Error: #{e}"
|
59
|
+
puts "Error: #{e}".colorize(:red)
|
60
60
|
end
|
61
61
|
end
|
62
62
|
end
|
data/lib/pele/version.rb
CHANGED
data/pele.gemspec
CHANGED
@@ -13,8 +13,6 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.description = "Pele lets you deploy multiple servers and run load test"
|
14
14
|
spec.homepage = "https://github.com/suyesh/pele"
|
15
15
|
|
16
|
-
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
17
|
-
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
18
16
|
if spec.respond_to?(:metadata)
|
19
17
|
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
20
18
|
else
|