cookbook 'gitlab-shell', '= 0.3.0'
gitlab-shell (15) Versions 0.3.0 Follow2
Installs/Configures gitlab-shell
cookbook 'gitlab-shell', '= 0.3.0', :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
This cookbook has no specified dependencies.
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.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.
Foodcritic Metric
0.3.0 passed this metric
0.3.0 passed this metric