madscience 0.0.11 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/madscience/version.rb +1 -1
- data/site-cookbooks/madscience-vagrant-cookbook/files/default/aws.json +2 -1
- data/site-cookbooks/madscience-vagrant-cookbook/files/default/digital_ocean.json +7 -0
- data/site-cookbooks/madscience-vagrant-cookbook/recipes/default.rb +7 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0652342085a3f2c7ff3cac55902ceafc35c7801
|
4
|
+
data.tar.gz: 3a9ccd4a5689e02082143920a94a9766eb095911
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 736e6566702cbafb7ffd7dfed629cccf1b07f42d8712379d0c6f262d4339888939941c532781f4934b56c56b234d01bacf3c58f523c0c246d15915dc3486f81a
|
7
|
+
data.tar.gz: 221f87159564e461f7da4796b416b3e3ed2fa2f8fe7740e8c9e70851b9e2fdbd82d477deb9c023b846bf1d02b6bf2202d4fe921f3213ac9072f4b9693c35c817
|
data/lib/madscience/version.rb
CHANGED
@@ -4,5 +4,6 @@
|
|
4
4
|
"instance_type": "t2.micro",
|
5
5
|
"#comment": "Remember that AMIs are region-specific. See http://cloud-images.ubuntu.com/releases/14.04/release/ to find more AMIs.",
|
6
6
|
"ami": "ami-29ebb519",
|
7
|
-
"region": "us-west-2"
|
7
|
+
"region": "us-west-2",
|
8
|
+
"keypair_name": "RubyMadScience"
|
8
9
|
}
|
@@ -85,6 +85,12 @@ execute "generate ssh app-deploy keys for #{user}." do
|
|
85
85
|
command "ssh-keygen -t rsa -q -b 4096 -f #{File.join creds_dir, "id_rsa_deploy_4096"} -P \"\""
|
86
86
|
end
|
87
87
|
|
88
|
+
cookbook_file "digital_ocean.json" do
|
89
|
+
owner user
|
90
|
+
path File.join(creds_dir, "digital_ocean.json")
|
91
|
+
action :create_if_missing
|
92
|
+
end
|
93
|
+
|
88
94
|
cookbook_file "aws.json" do
|
89
95
|
owner user
|
90
96
|
path File.join(creds_dir, "aws.json")
|
@@ -93,5 +99,6 @@ end
|
|
93
99
|
|
94
100
|
file File.join(creds_dir, "authorized_keys") do
|
95
101
|
user user
|
102
|
+
action :create_if_missing
|
96
103
|
content File.read(File.join(creds_dir, "id_rsa_provisioning_4096.pub"))
|
97
104
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: madscience
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Noah Gibbs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -322,6 +322,7 @@ files:
|
|
322
322
|
- site-cookbooks/madscience-vagrant-cookbook/CHANGELOG.md
|
323
323
|
- site-cookbooks/madscience-vagrant-cookbook/README.md
|
324
324
|
- site-cookbooks/madscience-vagrant-cookbook/files/default/aws.json
|
325
|
+
- site-cookbooks/madscience-vagrant-cookbook/files/default/digital_ocean.json
|
325
326
|
- site-cookbooks/madscience-vagrant-cookbook/metadata.rb
|
326
327
|
- site-cookbooks/madscience-vagrant-cookbook/recipes/default.rb
|
327
328
|
- solo.rb
|