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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c6a09c9fbfab5645022752dc5f0fc87740382eae
4
- data.tar.gz: 7f1e65406daa6e8b3411c51c75b31de12a30c70e
3
+ metadata.gz: f0652342085a3f2c7ff3cac55902ceafc35c7801
4
+ data.tar.gz: 3a9ccd4a5689e02082143920a94a9766eb095911
5
5
  SHA512:
6
- metadata.gz: 8ab30a043f61a3825be7eba140ee6f139a47ca70df71c597429d6f440ef1ee18de5da8bfdf1dc6094fe3af3d33eaab683a203c910cc7500afc4971074d8da271
7
- data.tar.gz: 56854c19791de4e3fbca8ab53ad32de7b1a7a0249077891ef1fb562c5f65014ed3e281293dc1aaa7f19b6b41327ded324fcb51239aa4418d1eabe56e4dcf9a41
6
+ metadata.gz: 736e6566702cbafb7ffd7dfed629cccf1b07f42d8712379d0c6f262d4339888939941c532781f4934b56c56b234d01bacf3c58f523c0c246d15915dc3486f81a
7
+ data.tar.gz: 221f87159564e461f7da4796b416b3e3ed2fa2f8fe7740e8c9e70851b9e2fdbd82d477deb9c023b846bf1d02b6bf2202d4fe921f3213ac9072f4b9693c35c817
@@ -1,3 +1,3 @@
1
1
  module MadScience
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.13"
3
3
  end
@@ -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
  }
@@ -0,0 +1,7 @@
1
+ {
2
+ "token": "",
3
+ "image": "ubuntu-14-04-x64",
4
+ "region": "nyc2",
5
+ "size": "1gb",
6
+ "setup": false
7
+ }
@@ -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.11
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-01 00:00:00.000000000 Z
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