Compare commits
2 Commits
89865bcd2a
...
ccca0ab9ca
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ccca0ab9ca
|
||
|
|
4bd0f9d6ad
|
@@ -21,9 +21,8 @@ postgres_port = node['lndhub-go']['postgres']['port']
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
akkounts_host = search(:node, "role:akkounts").first["knife_zero"]["host"]
|
akkounts_host = search(:node, "role:akkounts").first["knife_zero"]["host"]
|
||||||
node['lndhub-go']['webhook_url'] = "http://#{akkounts_host}:3000/webhooks/lndhub"
|
|
||||||
rescue
|
rescue
|
||||||
# No akkounts host found
|
node['lndhub-go']['webhook_url'] = "http://#{akkounts_host}:3000/webhooks/lndhub"
|
||||||
end
|
end
|
||||||
|
|
||||||
git source_dir do
|
git source_dir do
|
||||||
|
|||||||
Reference in New Issue
Block a user