From 907706d1d28436518ab7d61a7c2f4c61762d1242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Tue, 10 May 2022 11:50:49 +0200 Subject: [PATCH] Set up the hosts entry for the new LDAP server --- site-cookbooks/kosmos_gitea/metadata.rb | 1 + site-cookbooks/kosmos_gitea/recipes/default.rb | 2 ++ 2 files changed, 3 insertions(+) diff --git a/site-cookbooks/kosmos_gitea/metadata.rb b/site-cookbooks/kosmos_gitea/metadata.rb index 27947c3..95cd94a 100644 --- a/site-cookbooks/kosmos_gitea/metadata.rb +++ b/site-cookbooks/kosmos_gitea/metadata.rb @@ -23,3 +23,4 @@ depends "firewall" depends "kosmos-nginx" depends "kosmos_postgresql" depends "backup" +depends "kosmos-dirsrv" diff --git a/site-cookbooks/kosmos_gitea/recipes/default.rb b/site-cookbooks/kosmos_gitea/recipes/default.rb index f7f3a62..8b2ae0a 100644 --- a/site-cookbooks/kosmos_gitea/recipes/default.rb +++ b/site-cookbooks/kosmos_gitea/recipes/default.rb @@ -3,6 +3,8 @@ # Recipe:: default # +include_recipe "kosmos-dirsrv::hostsfile" + working_directory = node["kosmos_gitea"]["working_directory"] git_home_directory = "/home/git" repository_root_directory = "#{git_home_directory}/gitea-repositories"