Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

gitlab-ce (1) Versions 1.0.0

Installs/Configures GitLab CE (Community Edition).

Policyfile
Berkshelf
Knife
cookbook 'gitlab-ce', '~> 1.0.0', :supermarket
cookbook 'gitlab-ce', '~> 1.0.0'
knife supermarket install gitlab-ce
knife supermarket download gitlab-ce
README
Dependencies
Changelog
Quality 33%

gitlab-ce

Build Status

Table of Contents

  1. Overview
  2. Requirements
  3. Attributes
  4. Usage
  5. Contributing
  6. License & Authors

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;

  1. Fork the repository on Github.
  2. Create a named feature branch (like add_component_x).
  3. Write your change.
  4. Write tests for your change (if applicable).
  5. Write documentation for your change (if applicable).
  6. Run the tests, ensuring they all pass.
  7. 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

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 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 include a tag that matches this cookbook version number