From bbd8bba5cb5ba91a0fd9fe832e022bf6eef9615a Mon Sep 17 00:00:00 2001 From: Mike Hill Date: Thu, 28 Aug 2014 00:43:30 -0500 Subject: [PATCH] Fixes #232. --- files/gitlab-cookbooks/gitlab/templates/default/gitlab.yml.erb | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/files/gitlab-cookbooks/gitlab/templates/default/gitlab.yml.erb b/files/gitlab-cookbooks/gitlab/templates/default/gitlab.yml.erb index 001b7c9..5f99620 100644 --- a/files/gitlab-cookbooks/gitlab/templates/default/gitlab.yml.erb +++ b/files/gitlab-cookbooks/gitlab/templates/default/gitlab.yml.erb @@ -64,6 +64,9 @@ production: &base # When not specified the default issue_closing_pattern as specified below will be used. # Tip: you can test your closing pattern at http://rubular.com # issue_closing_pattern: '([Cc]lose[sd]|[Ff]ixe[sd]) +#\d+' + <% if !@gitlab_issue_closing_pattern.nil? %> + issue_closing_pattern: '<%= @gitlab_issue_closing_pattern %>' + <% end %> ## Default project features settings default_projects_features: -- libgit2 0.21.2