Commit 690535ab authored by Kirill Zaitsev's avatar Kirill Zaitsev 🎲

allow to use self-signed ssl certificates

parent dd3e8aff
......@@ -29,6 +29,7 @@ default['gitlab']['redis_path'] = "/usr/local/bin/redis-cli"
default['gitlab']['redis_host'] = "127.0.0.1"
default['gitlab']['redis_port'] = "6379"
default['gitlab']['namespace'] = "resque:gitlab"
default['gitlab']['self_signed_cert'] = false
# GitLab hq config
default['gitlab']['git_path'] = "/usr/local/bin/git"
......
......@@ -18,7 +18,8 @@ template File.join(gitlab['shell_path'], "config.yml") do
:redis_path => gitlab['redis_path'],
:redis_host => gitlab['redis_host'],
:redis_port => gitlab['redis_port'],
:namespace => gitlab['namespace']
:namespace => gitlab['namespace'],
:self_signed_cert => gitlab['self_signed_cert']
})
end
......
......@@ -9,7 +9,7 @@ http_settings:
# password: somepass
# ca_file: /etc/ssl/cert.pem
# ca_path: /etc/pki/tls/certs
self_signed_cert: false
self_signed_cert: <%= @self_signed_cert %>
# Repositories path
# Give the canonicalized absolute pathname,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment