Add missing files

This commit is contained in:
2021-11-29 13:12:17 -06:00
parent ecdc41a54f
commit 91ffe75bc1
16 changed files with 544 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#
# Cookbook:: kosmos_postgresql
# Recipe:: hostsfile
#
begin
primary_ip = postgresql_primary[:ipaddress]
rescue NoMethodError
end
unless primary_ip.nil?
hostsfile_entry primary_ip do
hostname "pg.kosmos.local"
unique true
end
end