add postgresql

This commit is contained in:
Artur Gurgul1 2025-08-06 16:50:03 +02:00
parent 953985a3ea
commit 2578cd7a6d
10 changed files with 164 additions and 2 deletions

23
lib/setup/postgresql.rb Normal file
View 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