madscience 0.0.3 → 0.0.4

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: 3903cb8d265b33cb65bc6a82ee71d360ffc62cf4
4
- data.tar.gz: f1aa7c55f4ef214d486e9b7ab2e0e35c3771146b
3
+ metadata.gz: 271b3c337dbc46a773ae41ed8ab30fbae5086397
4
+ data.tar.gz: 1276b46ae020d949de9085f575e95214da53560d
5
5
  SHA512:
6
- metadata.gz: 175c4f7d437358b951f2c55e76ad679819817b690fd5e90be953109e35a78bba669acd019508ecc5df878b4788798d9e8de16f9d211c7c0c925cf9e893f7fdc8
7
- data.tar.gz: 07f8d85dea71b0d59e38fa9127d2c196dd9cc3ca335b88946af4c76615e3481ac25520cd66b585c19174f1a4852b7371ecb65577c66d6ccbcb0c9b4fc4a301b1
6
+ metadata.gz: 4e13a19afeedaba2bbc1ebf1f59d94ac2b510ea232ab8962c174e76bd3a3fafc3a5a8c4668f9138a38e2d144ac023e3c27b0b65afe5e38bfd816010a469ee1dd
7
+ data.tar.gz: 8dabaa91d41b2c5162fcbdf2fd4611edf780aa265a966ca5ffc6a462fd25d5342e79f87913471b9d9383be1401d9c1fdf54a997e92067d093f686f2e42333c4d
@@ -1,3 +1,3 @@
1
1
  module MadScience
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -73,10 +73,15 @@ directory creds_dir do
73
73
  end
74
74
 
75
75
  # TODO: what is Windows equivalent?
76
- execute "generate ssh keys for #{user}." do
76
+ execute "generate ssh provisioning keys for #{user}." do
77
77
  user user
78
- creates File.join(creds_dir, "id_rsa_4096.pub")
79
- command "ssh-keygen -t rsa -q -f #{File.join creds_dir, "id_rsa_4096"} -P \"\""
78
+ creates File.join(creds_dir, "id_rsa_provisioning_4096.pub")
79
+ command "ssh-keygen -t rsa -q -f #{File.join creds_dir, "id_rsa_provisioning_4096"} -P \"\""
80
+ end
81
+ execute "generate ssh app-deploy keys for #{user}." do
82
+ user user
83
+ creates File.join(creds_dir, "id_rsa_deploy_4096.pub")
84
+ command "ssh-keygen -t rsa -q -f #{File.join creds_dir, "id_rsa_deploy_4096"} -P \"\""
80
85
  end
81
86
 
82
87
  # TODO: do what on Windows? Read file in cookbook and then assert contents?
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.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Noah Gibbs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-24 00:00:00.000000000 Z
11
+ date: 2014-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler