From 7ffd3bbf73038e90ddf1d0d967bd4ce72a76307d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Thu, 28 Apr 2022 12:11:04 +0200 Subject: [PATCH] Add LDAP's Zerotier IP to the akkount server's hosts --- nodes/akkounts-1.json | 1 + site-cookbooks/kosmos-akkounts/metadata.rb | 1 + site-cookbooks/kosmos-akkounts/recipes/default.rb | 1 + 3 files changed, 3 insertions(+) diff --git a/nodes/akkounts-1.json b/nodes/akkounts-1.json index 9b85cab..74896f9 100644 --- a/nodes/akkounts-1.json +++ b/nodes/akkounts-1.json @@ -44,6 +44,7 @@ "redis::default", "backup::default", "logrotate::default", + "kosmos-dirsrv::hostsfile", "nodejs::npm", "nodejs::install", "kosmos-nginx::default", diff --git a/site-cookbooks/kosmos-akkounts/metadata.rb b/site-cookbooks/kosmos-akkounts/metadata.rb index 538869f..98f70bd 100644 --- a/site-cookbooks/kosmos-akkounts/metadata.rb +++ b/site-cookbooks/kosmos-akkounts/metadata.rb @@ -16,3 +16,4 @@ depends 'application_git' depends "postgresql" depends "kosmos_postgresql" depends "backup" +depends "kosmos-dirsrv" diff --git a/site-cookbooks/kosmos-akkounts/recipes/default.rb b/site-cookbooks/kosmos-akkounts/recipes/default.rb index efc1d20..2173628 100644 --- a/site-cookbooks/kosmos-akkounts/recipes/default.rb +++ b/site-cookbooks/kosmos-akkounts/recipes/default.rb @@ -22,6 +22,7 @@ package "libpq-dev" include_recipe 'kosmos-nodejs' include_recipe "kosmos-redis" +include_recipe "kosmos-dirsrv::hostsfile" npm_package "yarn" do version "1.22.4"