conjure 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.md +5 -0
- data/lib/conjure/provision/instance.rb +2 -2
- data/lib/conjure/version.rb +1 -1
- metadata +2 -2
data/History.md
CHANGED
|
@@ -39,7 +39,7 @@ module Conjure
|
|
|
39
39
|
def passenger_dockerfile(db_ip_address, db_password)
|
|
40
40
|
public_key = File.expand_path("~/.ssh/id_rsa.pub")
|
|
41
41
|
raise "Error: ~/.ssh/id_rsa.pub must exist." unless File.exist?(public_key)
|
|
42
|
-
file = Dockerfile.new("conjure/passenger-ruby21:1.0.
|
|
42
|
+
file = Dockerfile.new("conjure/passenger-ruby21:1.0.1")
|
|
43
43
|
file.add_file public_key, "/root/.ssh/authorized_keys"
|
|
44
44
|
file.add_file public_key, "/home/app/.ssh/authorized_keys"
|
|
45
45
|
file.run "chown app.app /home/app/.ssh/authorized_keys"
|
|
@@ -56,7 +56,7 @@ module Conjure
|
|
|
56
56
|
|
|
57
57
|
def database_yml(db_ip_address, db_password)
|
|
58
58
|
require "yaml"
|
|
59
|
-
{@rails_env => {"adapter" => "
|
|
59
|
+
{@rails_env => {"adapter" => "postgresql", "database" => "application", "host" => db_ip_address, "username" => "db", "password" => db_password, "template" => "template0"}}.to_yaml
|
|
60
60
|
end
|
|
61
61
|
|
|
62
62
|
def application_conf
|
data/lib/conjure/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: conjure
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-03-
|
|
12
|
+
date: 2014-03-28 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: fog
|