diff --git a/CHANGELOG b/CHANGELOG index fdce82b..2154600 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -7,6 +7,7 @@ omnibus-gitlab repository. - Pass environment variables to Unicorn and Sidekiq (Chris Portman) - Add openssl_verify_mode to SMTP email configuration (Dionysius Marquis) - Enable the 'ssh_host' field in gitlab.yml (Florent Baldino) +- Create git's home directory if necessary 7.1.0 - Build: explicitly use .forward for sending notifications diff --git a/files/gitlab-cookbooks/gitlab/recipes/users.rb b/files/gitlab-cookbooks/gitlab/recipes/users.rb index 6d9cc08..1423b9d 100644 --- a/files/gitlab-cookbooks/gitlab/recipes/users.rb +++ b/files/gitlab-cookbooks/gitlab/recipes/users.rb @@ -20,6 +20,10 @@ gitlab_username = node['gitlab']['user']['username'] gitlab_group = node['gitlab']['user']['group'] gitlab_home = node['gitlab']['user']['home'] +directory gitlab_home do + recursive true +end + # Create the group for the GitLab user group gitlab_group do gid node['gitlab']['user']['gid'] -- libgit2 0.21.2