diff --git a/config/projects/gitlab.rb b/config/projects/gitlab.rb index e2f10cc..0c2d18f 100644 --- a/config/projects/gitlab.rb +++ b/config/projects/gitlab.rb @@ -20,6 +20,7 @@ name "gitlab" maintainer "GitLab.com" homepage "http://www.gitlab.com/" + replaces "gitlab" install_path "/opt/gitlab" build_version Omnibus::BuildVersion.new.semver @@ -35,6 +36,9 @@ dependency "git" dependency "redis" dependency "nginx" dependency "chef-gem" +if system("#{Omnibus.project_root}/support/is_gitlab_ee.sh") || system("#{Omnibus.project_root}/support/is_gitlab_com.sh") + dependency "remote_syslog" +end dependency "runit" dependency "gitlab-rails" dependency "gitlab-shell" diff --git a/config/software/remote_syslog.rb b/config/software/remote_syslog.rb new file mode 100644 index 0000000..558700e --- /dev/null +++ b/config/software/remote_syslog.rb @@ -0,0 +1,27 @@ +# +## Copyright:: Copyright (c) 2014 GitLab B.V. +## License:: Apache License, Version 2.0 +## +## Licensed under the Apache License, Version 2.0 (the "License"); +## you may not use this file except in compliance with the License. +## You may obtain a copy of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +## See the License for the specific language governing permissions and +## limitations under the License. +## +# + +name "remote_syslog" +default_version "1.6.14" + +dependency "ruby" +dependency "rubygems" + +build do + gem "install remote_syslog -n #{install_dir}/embedded/bin --no-rdoc --no-ri -v #{version}" +end -- libgit2 0.21.2