cookbook 'gitlab-shell', '~> 0.5.9'
gitlab-shell (15) Versions 0.5.9 Follow2
Installs/Configures gitlab-shell
cookbook 'gitlab-shell', '~> 0.5.9', :supermarket
knife supermarket install gitlab-shell
knife supermarket download gitlab-shell
gitlab-shell Cookbook
Chef cookbook for gitlab shell https://github.com/gitlabhq/gitlab-shell
Requirements
Platforms
- Ubuntu
Attributes
gitlab-shell::default
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['gitlab-shell']['user']</tt></td>
<td>String</td>
<td>Gitlab Shell User</td>
<td><tt>"git"</tt></td>
</tr>
<tr>
<td><tt>['gitlab-shell']['group']</tt></td>
<td>String</td>
<td>Gitlab Shell User group</td>
<td><tt>"git"</tt></td>
</tr>
<tr>
<td><tt>['gitlab-shell']['home']</tt></td>
<td>String</td>
<td>Gitlab Shell home directory</td>
<td><tt>"/home/git"</tt></td>
</tr>
<tr>
<td><tt>['gitlab-shell']['shell_repository']</tt></td>
<td>String</td>
<td>Gitlab Shell git repo location</td>
<td><tt>"https://github.com/gitlabhq/gitlab-shell.git"</tt></td>
</tr>
<tr>
<td><tt>['gitlab-shell']['shell_revision']</tt></td>
<td>String</td>
<td>Gitlab Shell git repo ref to checkout/install</td>
<td><tt>"master"</tt></td>
</tr>
<tr>
<td><tt>['gitlab-shell']['repos_path']</tt></td>
<td>String</td>
<td>Gitlab Shell git repositories path</td>
<td><tt>"#{node['gitlab-shell']['home']}/repositories"</tt></td>
</tr>
<tr>
<td><tt>['gitlab-shell']['shell_path']</tt></td>
<td>String</td>
<td>Gitlab Shell ssh script run via authorized_keys</td>
<td><tt>"#{node['gitlab-shell']['home']}/gitlab-shell"</tt></td>
</tr>
<tr>
<td><tt>['gitlab-shell']['redis_path']</tt></td>
<td>String</td>
<td>Redis cli location</td>
<td><tt>"/usr/local/bin/redis-cli"</tt></td>
</tr>
<tr>
<td><tt>['gitlab-shell']['redis_host']</tt></td>
<td>String</td>
<td>Redis Host</td>
<td><tt>"127.0.0.1"</tt></td>
</tr>
<tr>
<td><tt>['gitlab-shell']['redis_port']</tt></td>
<td>String</td>
<td>Redis Port</td>
<td><tt>"6379"</tt></td>
</tr>
<tr>
<td><tt>['gitlab-shell']['redis_database']</tt></td>
<td>String</td>
<td>Redis Database</td>
<td><tt>nil # Default value is 0</tt></td>
</tr>
<tr>
<td><tt>['gitlab-shell']['namespace']</tt></td>
<td>String</td>
<td>Redis Namespace</td>
<td><tt>"resque:gitlab"</tt></td>
</tr>
<tr>
<td><tt>['gitlab-shell']['self_signed_cert']</tt></td>
<td>Boolean</td>
<td>Use self signed cert</td>
<td><tt>false</tt></td>
</tr>
<tr>
<td><tt>['gitlab-shell']['url']</tt></td>
<td>String</td>
<td>Gitlab callback host for auth and key checks</td>
<td><tt>"http://localhost:3000/"</tt></td>
</tr>
</table>
Usage
gitlab-shell::default
Just include gitlab-shell
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[gitlab-shell]" ] }
Contributing
- Fork the repository on Github https://github.com/feedhenry-cookbooks/gitlab-shell
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Authors: david.martin@feedhenry.com https://github.com/david-martin
Dependent cookbooks
build-essential >= 0.0.0 |
zlib >= 0.0.0 |
readline >= 0.0.0 |
ncurses >= 0.0.0 |
git >= 0.0.0 |
redisio >= 0.0.0 |
xml >= 0.0.0 |
ruby_build >= 0.0.0 |
certificate >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
gitlab-shell CHANGELOG
This file is used to list changes made in each version of the gitlab-shell cookbook.
0.5.9
- Fix versions of gems to ensure compatibility with ruby 1.9
0.5.8
- Removed refs to openssh
0.5.7
- Removed dependency on unnecessary cookbooks
0.5.6
- Manually set ruby alternative version
0.5.5
- Use priority 9 for ruby update-alternatives
0.5.4
- Removed bundle install from recipe in favor of gem install of bunny
0.5.3
- Added bundle install to recipe
0.5.2
- Fixed multiple rabbit hosts formatting in config.yml (take 2)
0.5.0
- Added rabbit config
0.3.1
- Updated license to MIT
0.1.0
- david.martin@feedhenry.com - Initial release of gitlab-shell
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Collaborator Number Metric
0.5.9 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.5.9 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
0.5.9 failed this metric
FC009: Resource attribute not recognised: gitlab-shell/recipes/default.rb:25
FC064: Ensure issues_url is set in metadata: gitlab-shell/metadata.rb:1
FC065: Ensure source_url is set in metadata: gitlab-shell/metadata.rb:1
FC066: Ensure chef_version is set in metadata: gitlab-shell/metadata.rb:1
FC069: Ensure standardized license defined in metadata: gitlab-shell/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: gitlab-shell/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.5.9 passed this metric
Testing File Metric
0.5.9 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
0.5.9 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
0.5.9 failed this metric
0.5.9 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
0.5.9 failed this metric
FC009: Resource attribute not recognised: gitlab-shell/recipes/default.rb:25
FC064: Ensure issues_url is set in metadata: gitlab-shell/metadata.rb:1
FC065: Ensure source_url is set in metadata: gitlab-shell/metadata.rb:1
FC066: Ensure chef_version is set in metadata: gitlab-shell/metadata.rb:1
FC069: Ensure standardized license defined in metadata: gitlab-shell/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: gitlab-shell/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.5.9 passed this metric
Testing File Metric
0.5.9 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
0.5.9 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
0.5.9 failed this metric
FC064: Ensure issues_url is set in metadata: gitlab-shell/metadata.rb:1
FC065: Ensure source_url is set in metadata: gitlab-shell/metadata.rb:1
FC066: Ensure chef_version is set in metadata: gitlab-shell/metadata.rb:1
FC069: Ensure standardized license defined in metadata: gitlab-shell/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: gitlab-shell/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.5.9 passed this metric
Testing File Metric
0.5.9 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
0.5.9 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
0.5.9 failed this metric
0.5.9 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