From c8e50fd226d6f2aaf73b5bed4d836b12b8078bfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Tue, 2 Jun 2020 11:41:19 +0200 Subject: [PATCH] Install git, it is a required dependency for Gitea I didn't catch it because git is installed by default in the Vagrant box I used to write the cookbook --- site-cookbooks/kosmos_gitea/recipes/default.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/site-cookbooks/kosmos_gitea/recipes/default.rb b/site-cookbooks/kosmos_gitea/recipes/default.rb index 22bfcdc..3d8f370 100644 --- a/site-cookbooks/kosmos_gitea/recipes/default.rb +++ b/site-cookbooks/kosmos_gitea/recipes/default.rb @@ -42,6 +42,9 @@ postgresql_server = postgresql_primary_node[:ipaddress] # PostgreSQL is on the same server, connect through localhost postgresql_server = "localhost" if postgresql_primary_node[:hostname] == node[:hostname] +# Dependency +package "git" + user "git" do manage_home true home "/home/git"