Added Postgres recipe

This commit is contained in:
2019-05-27 22:34:53 -04:00
parent d73c3e56ed
commit 98425a1680
2 changed files with 45 additions and 0 deletions

5
attributes/postgres.rb Normal file
View File

@ -0,0 +1,5 @@
require 'securerandom'
default['db']['name'] = node['app']['name']
default['db']['user'] = node['app']['name']
default['db']['password'] = SecureRandom.hex(13)