add postgresql
This commit is contained in:
parent
953985a3ea
commit
2578cd7a6d
10 changed files with 164 additions and 2 deletions
23
lib/setup/postgresql.rb
Normal file
23
lib/setup/postgresql.rb
Normal file
|
@ -0,0 +1,23 @@
|
|||
|
||||
module Setup
|
||||
require_relative '../templates'
|
||||
|
||||
module PostgreSQL
|
||||
extend Templates
|
||||
|
||||
# attr_accessor :te
|
||||
|
||||
|
||||
|
||||
def self.make_config
|
||||
pg_hba = render("pg_hba.conf")
|
||||
|
||||
test = render("test", te: "This is a test string")
|
||||
puts test
|
||||
end
|
||||
|
||||
def self.install
|
||||
make_config
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue