summaryrefslogtreecommitdiff
path: root/lib/gitlab_config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab_config.rb')
-rw-r--r--lib/gitlab_config.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab_config.rb b/lib/gitlab_config.rb
index 300d6ba..caca176 100644
--- a/lib/gitlab_config.rb
+++ b/lib/gitlab_config.rb
@@ -19,6 +19,10 @@ class GitlabConfig
@config['auth_file'] ||= File.join(home, ".ssh/authorized_keys")
end
+ def secret_file
+ @config['secret_file'] ||= File.join(ROOT_PATH, '.gitlab_shell_secret')
+ end
+
def gitlab_url
@config['gitlab_url'] ||= "http://localhost/"
end