cookbook 'gitlab-ce', '~> 1.0.0', :supermarket
gitlab-ce (1) Versions 1.0.0 Follow3
Installs/Configures GitLab CE (Community Edition).
cookbook 'gitlab-ce', '~> 1.0.0'
knife supermarket install gitlab-ce
knife supermarket download gitlab-ce
gitlab-ce
Table of Contents
Overview
This module manages the installation & configuration for Gitlab CE Omnibus Edition.
Requirements
None.
Attributes
gitlab-ce::default
Key | Type | Description | Default |
---|---|---|---|
['gitlab-ce']['dependencies'] |
Array |
List of packages that Gitlab depends upon. | ['curl', 'policycoreutils', 'openssh-server', openssh-clients] |
['gitlab-ce']['manage_postfix'] |
Boolean |
Determines if postfix should be managed or not. Gitlab uses Postfix to send outgoing mail. |
true |
['gitlab-ce']['manage_repo'] |
Boolean |
Determines if the cookbook should manage the Gitlab CE Omnibus repo or not. | true |
The following variables are used to help populate Gitlab's config file:
Key | Type | Description | Default |
---|---|---|---|
['gitlab-ce']['config']['enable_https'] |
Array |
Determines if the WebUI should be served over https or not. | false |
['gitlab-ce']['config']['external_url'] |
String |
External URL that the WebUI is available on. | node['fqdn'] |
['gitlab-ce']['config']['git_data_dir'] |
String |
Directory that Gitlab stores data. | /var/opt/gitlab/git-data |
['gitlab-ce']['config']['manage_accounts'] |
Boolean |
Determines if Gitlab should manage accounts or not. | true |
A number of config file values can also be supplied by creating none default attributes for them in a Hash style format, for example:
default['gitlab-ce']['config']['gitlab_rails']['true'] = true
The following config items can currently be set in this way:
gitlab_rails
gitlab_workhorse
user
unicorn
sidekiq
gitlab_shell
postgresql
redis
web_server
nginx
logging
Please see the official Gitlab docs for more info on the configuration options that are available.
Usage
You must always include the default recipe:
include_recipe 'gitlab-ce::default'
Other than the above all config is done via Attributes.
Contributing
If you would like to contribute to this cookbook please follow these steps;
- Fork the repository on Github.
- Create a named feature branch (like
add_component_x
). - Write your change.
- Write tests for your change (if applicable).
- Write documentation for your change (if applicable).
- Run the tests, ensuring they all pass.
- Submit a Pull Request using GitHub.
License and Authors
License: BSD 2-Clause
Authors:
Dependent cookbooks
yum-gitlab-ce >= 0.1.1 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
2016-03-17 (v1.0.0)
Summary
Initial release.
Features
- Install dependencies.
- Optionally install Postfix.
- Install Gitlab CE Omnibus edition.
- Manage main config.
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Publish Metric
1.0.0 passed this metric
Supported Platforms Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 passed this metric
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Publish Metric
1.0.0 passed this metric
Supported Platforms Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 passed this metric
1.0.0 passed this metric
1.0.0 passed this metric
Publish Metric
1.0.0 passed this metric
Supported Platforms Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 passed this metric
1.0.0 passed this metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 passed this metric
1.0.0 failed this metric
1.0.0 passed this metric