orats 0.6.1 → 0.6.2
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: eab03ca425d310966be31c40d5665307545cd274
|
4
|
+
data.tar.gz: 34739793810ba50d861e41adb375b413116fee8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98ae72b09b93e0ca2cd85f9d4370e23be4ea79c4cca892d548c36c4e1919c71969b75ecc1f3c562f1019a40e0d67afe0b4086bf0f4edd1cb805bfc7990bbf7a3
|
7
|
+
data.tar.gz: 2240f9eba87c08ae51b681ef77d55d31ee1815dcb274ea96f5c1ec0a61956766e6bb4da3fd5731167379af8f8ef25418e161298458ccd24feebc37208cebac91
|
data/lib/orats/templates/base.rb
CHANGED
@@ -67,6 +67,21 @@ end
|
|
67
67
|
git add: '-A'
|
68
68
|
git commit: "-m 'Add common OS and editor files to the .gitignore file'"
|
69
69
|
|
70
|
+
# ----- Add a bundler config --------------------------------------------------------------------
|
71
|
+
|
72
|
+
puts
|
73
|
+
say_status 'bundler', 'Creating bundler config...', :yellow
|
74
|
+
puts '-'*80, ''; sleep 0.25
|
75
|
+
|
76
|
+
file '.bundler/config' do <<-CODE
|
77
|
+
---
|
78
|
+
BUNDLE_WITHOUT: production:staging
|
79
|
+
CODE
|
80
|
+
end
|
81
|
+
|
82
|
+
git add: '-A'
|
83
|
+
git commit: "-m 'Add .bundler/config to ignore production:staging'"
|
84
|
+
|
70
85
|
# ----- Create a few root files -----------------------------------------------------------------------
|
71
86
|
|
72
87
|
puts
|
@@ -9,12 +9,12 @@ user_name: "{{ ansible_ssh_user }}"
|
|
9
9
|
# do not add a trailing slash to the path
|
10
10
|
secrets_load_path: /home/yourname/dev/testproj/secrets
|
11
11
|
|
12
|
-
secrets_postgres_password: "{{ lookup('password', secrets_load_path + 'postgres_password') }}"
|
13
|
-
secrets_redis_password: "{{ lookup('password', secrets_load_path + 'redis_password') }}"
|
14
|
-
secrets_mail_password: "{{ lookup('password', secrets_load_path + 'mail_password') }}"
|
15
|
-
secrets_rails_token: "{{ lookup('password', secrets_load_path + 'rails_token') }}"
|
16
|
-
secrets_devise_token: "{{ lookup('password', secrets_load_path + 'devise_token') }}"
|
17
|
-
secrets_devise_pepper_token: "{{ lookup('password', secrets_load_path + 'devise_pepper_token') }}"
|
12
|
+
secrets_postgres_password: "{{ lookup('password', secrets_load_path + '/postgres_password') }}"
|
13
|
+
secrets_redis_password: "{{ lookup('password', secrets_load_path + '/redis_password') }}"
|
14
|
+
secrets_mail_password: "{{ lookup('password', secrets_load_path + '/mail_password') }}"
|
15
|
+
secrets_rails_token: "{{ lookup('password', secrets_load_path + '/rails_token') }}"
|
16
|
+
secrets_devise_token: "{{ lookup('password', secrets_load_path + '/devise_token') }}"
|
17
|
+
secrets_devise_pepper_token: "{{ lookup('password', secrets_load_path + '/devise_pepper_token') }}"
|
18
18
|
|
19
19
|
# postgres login credentials
|
20
20
|
postgres_user: "{{ user_name }}"
|
data/lib/orats/version.rb
CHANGED