From aa9463a3e67c795b0bf61b96e3017a585ea766f1 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Wed, 5 Feb 2014 11:48:14 +0100 Subject: [PATCH] Create directories for gitlab-shell recursively --- files/gitlab-cookbooks/gitlab/recipes/gitlab-shell.rb | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/files/gitlab-cookbooks/gitlab/recipes/gitlab-shell.rb b/files/gitlab-cookbooks/gitlab/recipes/gitlab-shell.rb index 33d57cf..9260446 100644 --- a/files/gitlab-cookbooks/gitlab/recipes/gitlab-shell.rb +++ b/files/gitlab-cookbooks/gitlab/recipes/gitlab-shell.rb @@ -9,16 +9,19 @@ log_directory = node['gitlab']['gitlab-shell']['log_directory'] directory repositories_path do owner git_user group git_group + recursive true end directory ssh_dir do owner git_user group git_group mode "0700" + recursive true end directory log_directory do owner git_user + recursive true end template File.join(gitlab_shell_dir, "config.yml") do -- libgit2 0.21.2