Commit aa9463a3e67c795b0bf61b96e3017a585ea766f1
1 parent
5571bf4a
Exists in
master
and in
17 other branches
Create directories for gitlab-shell recursively
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
files/gitlab-cookbooks/gitlab/recipes/gitlab-shell.rb
| ... | ... | @@ -9,16 +9,19 @@ log_directory = node['gitlab']['gitlab-shell']['log_directory'] |
| 9 | 9 | directory repositories_path do |
| 10 | 10 | owner git_user |
| 11 | 11 | group git_group |
| 12 | + recursive true | |
| 12 | 13 | end |
| 13 | 14 | |
| 14 | 15 | directory ssh_dir do |
| 15 | 16 | owner git_user |
| 16 | 17 | group git_group |
| 17 | 18 | mode "0700" |
| 19 | + recursive true | |
| 18 | 20 | end |
| 19 | 21 | |
| 20 | 22 | directory log_directory do |
| 21 | 23 | owner git_user |
| 24 | + recursive true | |
| 22 | 25 | end |
| 23 | 26 | |
| 24 | 27 | template File.join(gitlab_shell_dir, "config.yml") do | ... | ... |