orats 0.4.0 → 0.4.1

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: df0e6a8e4b16283b4ee0da8cd5cdb7c5004b8fa4
4
- data.tar.gz: 9e484f41808728ea3cb9c23984f5fc0f0dc6bf6e
3
+ metadata.gz: 86f08bf4b89efe8a4391f8171f65f37831f2001d
4
+ data.tar.gz: 941d3a91ca8a12ef09339fd76f3c3421427a53ad
5
5
  SHA512:
6
- metadata.gz: 6665735679ce17c0f7967357b27ce391b60d5d1abcb7eee4ceedf8a5253bd171a95bdd4c2d416b6e9e10d91b5eae7f50a9a309f8022a8b54756fb6254bd306c1
7
- data.tar.gz: cace2be230a652af3d08cb595860649a8e4c0deb64d52b3703a468f008ea0179128630f90f24f72153b7da8f27302cefe54bfeb0b811288229ec798ebe5432d2
6
+ metadata.gz: ed96c10f2a2d6b9a9a81d66aac2d6d3a71dccdf0938fbda512944698ac35f3c320455b649358fc70f8ca5ebb63d2866d570604b815ef7fd1c20118c8cfc635e6
7
+ data.tar.gz: ab24c18b622e8c26483856e4a7d275927c573c7ac2e261c147f9bef07499efbe458835fce765231d3c392e6dac3095f3e91a3fdb1b54fc5c4ea5bc5755997382
data/README.md CHANGED
@@ -13,7 +13,7 @@ Everything is accessed through the [orats gem](#installation).
13
13
  I will be updating them as new versions come out and when the gems used are proven to work. All important gems in the Gemfile
14
14
  are locked using the pessimistic operator `~>` so you can be sure that everything plays nice as long as rubygems.org is up!
15
15
 
16
- ## System dependencies that you must have on your dev box
16
+ ## System dependencies that must be on your dev box
17
17
 
18
18
  - [The orats gem](#installation)
19
19
  - To download each rails template and automate running certain tasks.
@@ -247,6 +247,7 @@ check out each role then here's a link to their repos:
247
247
  - https://github.com/DavidWittman/ansible-redis
248
248
 
249
249
  You will need to install the roles onto your workstation before you can use them. You can do that by running this command:
250
+
250
251
  `ansible-galaxy install nickjj.user nickjj.security nickjj.postgres nickjj.ruby nickjj.nodejs nickjj.nginx nickjj.rails DavidWittman.redis --force`
251
252
 
252
253
  ### Try it
@@ -150,13 +150,10 @@ module Orats
150
150
  update_secrets_path secrets_path
151
151
 
152
152
  log_message 'shell', 'Creating ssh keypair'
153
- run "echo '' | echo '' | echo #{secrets_path}/id_rsa | ssh-keygen -t rsa"
153
+ run "ssh-keygen -t rsa -P '' -f #{secrets_path}/id_rsa"
154
154
 
155
155
  log_message 'shell', 'Creating self signed ssl certificates'
156
- # these are very insecure as I'm not generating new keys for everyone, this should only be used to test
157
- # SSL on your web app before switching to signed keys from a trusted vendor
158
- copy_from_includes 'secrets/sslcert.crt', path
159
- copy_from_includes 'secrets/sslkey.key', path
156
+ run "openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj '/C=US/ST=Foo/L=Bar/O=Baz/CN=qux.com' -keyout #{secrets_path}/sslkey.key -out #{secrets_path}/sslcert.crt"
160
157
  end
161
158
 
162
159
  private
@@ -1,3 +1,3 @@
1
1
  module Orats
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Janetakis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-22 00:00:00.000000000 Z
11
+ date: 2014-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -92,8 +92,6 @@ files:
92
92
  - lib/orats/templates/includes/Gemfile
93
93
  - lib/orats/templates/includes/inventory/group_vars/all.yml
94
94
  - lib/orats/templates/includes/inventory/hosts
95
- - lib/orats/templates/includes/secrets/sslcert.crt
96
- - lib/orats/templates/includes/secrets/sslkey.key
97
95
  - lib/orats/templates/play.rb
98
96
  - lib/orats/version.rb
99
97
  -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