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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 271b3c337dbc46a773ae41ed8ab30fbae5086397
|
4
|
+
data.tar.gz: 1276b46ae020d949de9085f575e95214da53560d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e13a19afeedaba2bbc1ebf1f59d94ac2b510ea232ab8962c174e76bd3a3fafc3a5a8c4668f9138a38e2d144ac023e3c27b0b65afe5e38bfd816010a469ee1dd
|
7
|
+
data.tar.gz: 8dabaa91d41b2c5162fcbdf2fd4611edf780aa265a966ca5ffc6a462fd25d5342e79f87913471b9d9383be1401d9c1fdf54a997e92067d093f686f2e42333c4d
|
data/lib/madscience/version.rb
CHANGED
@@ -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, "
|
79
|
-
command "ssh-keygen -t rsa -q -f #{File.join creds_dir, "
|
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.
|
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-
|
11
|
+
date: 2014-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|