Commit c6b7bf8ad7b53f4b431c2d0f7add9b36e2d65bd0

Authored by Jacob Vosmaer
1 parent 0d712907

Create git's home directory if necessary

CHANGELOG
... ... @@ -7,6 +7,7 @@ omnibus-gitlab repository.
7 7 - Pass environment variables to Unicorn and Sidekiq (Chris Portman)
8 8 - Add openssl_verify_mode to SMTP email configuration (Dionysius Marquis)
9 9 - Enable the 'ssh_host' field in gitlab.yml (Florent Baldino)
  10 +- Create git's home directory if necessary
10 11  
11 12 7.1.0
12 13 - Build: explicitly use .forward for sending notifications
... ...
files/gitlab-cookbooks/gitlab/recipes/users.rb
... ... @@ -20,6 +20,10 @@ gitlab_username = node['gitlab']['user']['username']
20 20 gitlab_group = node['gitlab']['user']['group']
21 21 gitlab_home = node['gitlab']['user']['home']
22 22  
  23 +directory gitlab_home do
  24 + recursive true
  25 +end
  26 +
23 27 # Create the group for the GitLab user
24 28 group gitlab_group do
25 29 gid node['gitlab']['user']['gid']
... ...