Skip to content
Snippets Groups Projects
Commit 2aa0155f authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Put repositories and satellites in git-data/

parent 633eee51
No related branches found
No related tags found
1 merge request!55Git Data Dir
Loading
Loading
@@ -86,10 +86,10 @@ default['gitlab']['gitlab-rails']['ldap_method'] = "ssl"
default['gitlab']['gitlab-rails']['ldap_bind_dn'] = "_the_full_dn_of_the_user_you_will_bind_with"
default['gitlab']['gitlab-rails']['ldap_password'] = "_the_password_of_the_bind_user"
default['gitlab']['gitlab-rails']['ldap_allow_username_or_email_login'] = true
default['gitlab']['gitlab-rails']['satellites_path'] = "/var/opt/gitlab/gitlab-satellites"
default['gitlab']['gitlab-rails']['satellites_path'] = "/var/opt/gitlab/git-data/gitlab-satellites"
default['gitlab']['gitlab-rails']['backup_path'] = "tmp/backups"
default['gitlab']['gitlab-rails']['gitlab_shell_path'] = "/opt/gitlab/embedded/service/gitlab-shell/"
default['gitlab']['gitlab-rails']['gitlab_shell_repos_path'] = "/var/opt/gitlab/repositories"
default['gitlab']['gitlab-rails']['gitlab_shell_repos_path'] = "/var/opt/gitlab/git-data/repositories"
default['gitlab']['gitlab-rails']['gitlab_shell_hooks_path'] = "/opt/gitlab/embedded/service/gitlab-shell/hooks/"
default['gitlab']['gitlab-rails']['gitlab_shell_upload_pack'] = true
default['gitlab']['gitlab-rails']['gitlab_shell_receive_pack'] = true
Loading
Loading
@@ -125,6 +125,7 @@ default['gitlab']['sidekiq']['log_directory'] = "/var/log/gitlab/sidekiq"
# gitlab-shell
###
default['gitlab']['gitlab-shell']['log_directory'] = "/var/log/gitlab/gitlab-shell/"
default['gitlab']['gitlab-shell']['git_data_directory'] = "/var/opt/gitlab/git-data"
 
 
###
Loading
Loading
Loading
Loading
@@ -44,16 +44,16 @@ execute "chcon -t ssh_home_t #{ssh_dir}" do
only_if "id -Z"
end
 
directory log_directory do
owner git_user
mode "0700"
recursive true
end
directory gitlab_shell_var_dir do
owner git_user
mode '0700'
recursive true
[
log_directory,
gitlab_shell_var_dir,
node['gitlab']['gitlab-shell']['git_data_directory']
].each do |dir|
directory dir do
owner git_user
mode "0700"
recursive true
end
end
 
template_symlink File.join(gitlab_shell_var_dir, "config.yml") do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment