Commit 0e092d47da99eb8b817e230835c20891bc3fcc74
1 parent
5a2b6927
Exists in
master
and in
17 other branches
Add license header to unicorn.rb
Showing
1 changed file
with
18 additions
and
0 deletions
Show diff stats
files/gitlab-cookbooks/gitlab/recipes/unicorn.rb
| 1 | +# | ||
| 2 | +# Copyright:: Copyright (c) 2012 Opscode, Inc. | ||
| 3 | +# Copyright:: Copyright (c) 2014 GitLab.com | ||
| 4 | +# License:: Apache License, Version 2.0 | ||
| 5 | +# | ||
| 6 | +# Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 7 | +# you may not use this file except in compliance with the License. | ||
| 8 | +# You may obtain a copy of the License at | ||
| 9 | +# | ||
| 10 | +# http://www.apache.org/licenses/LICENSE-2.0 | ||
| 11 | +# | ||
| 12 | +# Unless required by applicable law or agreed to in writing, software | ||
| 13 | +# distributed under the License is distributed on an "AS IS" BASIS, | ||
| 14 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 15 | +# See the License for the specific language governing permissions and | ||
| 16 | +# limitations under the License. | ||
| 17 | +# | ||
| 18 | + | ||
| 1 | gitlab_core_dir = node['gitlab']['gitlab-core']['dir'] | 19 | gitlab_core_dir = node['gitlab']['gitlab-core']['dir'] |
| 2 | gitlab_core_etc_dir = File.join(gitlab_core_dir, "etc") | 20 | gitlab_core_etc_dir = File.join(gitlab_core_dir, "etc") |
| 3 | gitlab_core_working_dir = File.join(gitlab_core_dir, "working") | 21 | gitlab_core_working_dir = File.join(gitlab_core_dir, "working") |