Set up lndhub.go #457

Merged
raucao merged 16 commits from feature/454-lndhub.go into master 2022-12-27 06:29:09 +00:00
Showing only changes of commit 7802ea25e6 - Show all commits

View File

@ -1,7 +1,7 @@
class Chef
class Recipe
def postgresql_primary
postgresql_primary = search(:node, "role:postgresql_primary AND chef_environment:#{node.chef_environment}").first
postgresql_primary = search(:node, "role:postgresql_primary").first
unless postgresql_primary.nil?
primary_ip = ip_for(postgresql_primary)