akashi 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/akashi/builder.rb +6 -4
- data/lib/akashi/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: dc578b2529ece60939019784f3dd530363882f73
|
4
|
+
data.tar.gz: 9c2d921d8a401981cdb2162630f9ade48fe8e109
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc200e8b5bd46bf56adfdf24c7acaa0f2ce96cdeefb60e21c1f86eb897a1715120dbaf9145c419c46e2c651e3119edc0bae0f9b98f15742ad699fbdaf1965719
|
7
|
+
data.tar.gz: 07d67d7f26d25a7e032171a62287aef7c3a24acb715812ed75a3c6fec7ec0969691ac1ddd9ed4b8b71fe37b1ca97b0e76670682c14f691a608cf93d03a479a7c
|
data/lib/akashi/builder.rb
CHANGED
@@ -15,6 +15,12 @@ module Akashi
|
|
15
15
|
|
16
16
|
private
|
17
17
|
|
18
|
+
def create_ssl_certificate
|
19
|
+
@ssl_certificate = !!Akashi.manifest.elb.ssl_certificate.name ?
|
20
|
+
Akashi::Elb::SslCertificate.find_by(name: Akashi.manifest.elb.ssl_certificate.name) :
|
21
|
+
Akashi::Elb::SslCertificate.create
|
22
|
+
end
|
23
|
+
|
18
24
|
def create_vpc
|
19
25
|
@vpc = Akashi::Vpc::Instance.create
|
20
26
|
|
@@ -85,10 +91,6 @@ module Akashi
|
|
85
91
|
@db_instance = Akashi::Rds::DbInstance.create(security_group: security_group[:rds])
|
86
92
|
end
|
87
93
|
|
88
|
-
def create_ssl_certificate
|
89
|
-
@ssl_certificate = Akashi::Elb::SslCertificate.create
|
90
|
-
end
|
91
|
-
|
92
94
|
def create_load_balancer
|
93
95
|
@load_balancer = Akashi::Elb::LoadBalancer.create(
|
94
96
|
security_group: security_group[:elb],
|
data/lib/akashi/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: akashi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- asonas
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-06-
|
12
|
+
date: 2014-06-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|