cookbook 'gitorious', '~> 2.1.0', :supermarket
gitorious (4) Versions 2.1.0 Follow5
Installs/Configures gitorious
cookbook 'gitorious', '~> 2.1.0'
knife supermarket install gitorious
knife supermarket download gitorious
Description
Installs gitorious (http://gitorious.org/gitorious) on a single server.
Requirements
Platform
Tested on:
- Debian stable (6.0.6)
- Ubuntu Precise (12.04)
It uses package Rubygems 1.8.X from apt, plus a small hack to find gem binaries.
Depending on the Debian/Ubuntu policy, these are sometimes in
/var/lib/gems/1.8/bin
, other times in /usr/local/bin
.
Dependencies
rabbitmq
passenger_apache2
mysql
-
database
(for themysql
providers) memcached
Attributes
Attribute | Description | Default |
---|---|---|
deploy_path |
Where the gitorious source code checkout will be | /var/www/gitorious |
git_path |
Where the git repositories will be stored | /var/git |
user |
System user for gitorious services | git |
git:url |
URL for the gitorious source code | http://git.gitorious.org/gitorious/mainline.git |
git:ref |
Gitorious version | v2.4.2 |
host |
Host name | gitorious.org |
exception_notification_emails |
errors@gitorious.org |
|
support_email |
support@gitorious.org |
|
custom_username_label |
Used on the login page | Username |
mysql_database |
Mysql database name | gitorious |
mysql_password |
Mysql user password | 1234 |
use_ldap_for_authorization |
If this is set to false, all other ldap attributes are ignored | true |
ldap:host |
ldap.gitorious.org |
|
ldap:port |
389 |
|
ldap:base_dn |
DC=gitorious,DC=org |
|
ldap:login_attribute |
CN |
|
ldap:distinguished_name_template |
nil (defaults to $LOGIN_ATTRIBUTE={},$BASE_DN ) |
|
ldap:attribute_mapping |
{'displayName' => 'fullname', 'mail' => 'email'} |
|
ldap:encryption |
simple_tls |
|
apache:ssl:cert_path |
Location of Apache SSL certificate | /etc/ssl/certs/ssl-cert-snakeoil.pem |
apache:ssl:key_path |
Location of Apache SSL key | /etc/ssl/private/ssl-cert-snakeoil.key |
stomp:host |
Host to use for stomp | localhost |
stomp:port |
Port to use for stomp | 61613 |
Usage
Just add recipe[gitorious]
to the run list, it will set up the rabbitmq,
apache2, mysql and memcached servers and start the services.
Dependent cookbooks
memcached >= 0.0.0 |
database >= 0.0.0 |
mysql >= 0.0.0 |
passenger_apache2 >= 0.0.0 |
rabbitmq >= 2.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
2.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
2.1.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
2.1.0 failed this metric
FC007: Ensure recipe dependencies are reflected in cookbook metadata: gitorious/recipes/default.rb:8
FC007: Ensure recipe dependencies are reflected in cookbook metadata: gitorious/recipes/default.rb:123
FC064: Ensure issues_url is set in metadata: gitorious/metadata.rb:1
FC065: Ensure source_url is set in metadata: gitorious/metadata.rb:1
FC066: Ensure chef_version is set in metadata: gitorious/metadata.rb:1
FC069: Ensure standardized license defined in metadata: gitorious/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.1.0 passed this metric
Publish Metric
2.1.0 failed this metric
gitorious is up for adoption
Supported Platforms Metric
2.1.0 passed this metric
Testing File Metric
2.1.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
2.1.0 passed this metric
2.1.0 failed this metric
2.1.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
2.1.0 failed this metric
FC007: Ensure recipe dependencies are reflected in cookbook metadata: gitorious/recipes/default.rb:8
FC007: Ensure recipe dependencies are reflected in cookbook metadata: gitorious/recipes/default.rb:123
FC064: Ensure issues_url is set in metadata: gitorious/metadata.rb:1
FC065: Ensure source_url is set in metadata: gitorious/metadata.rb:1
FC066: Ensure chef_version is set in metadata: gitorious/metadata.rb:1
FC069: Ensure standardized license defined in metadata: gitorious/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.1.0 passed this metric
Publish Metric
2.1.0 failed this metric
gitorious is up for adoption
Supported Platforms Metric
2.1.0 passed this metric
Testing File Metric
2.1.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
2.1.0 passed this metric
2.1.0 failed this metric
FC007: Ensure recipe dependencies are reflected in cookbook metadata: gitorious/recipes/default.rb:123
FC064: Ensure issues_url is set in metadata: gitorious/metadata.rb:1
FC065: Ensure source_url is set in metadata: gitorious/metadata.rb:1
FC066: Ensure chef_version is set in metadata: gitorious/metadata.rb:1
FC069: Ensure standardized license defined in metadata: gitorious/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
2.1.0 passed this metric
Publish Metric
2.1.0 failed this metric
gitorious is up for adoption
Supported Platforms Metric
2.1.0 passed this metric
Testing File Metric
2.1.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
2.1.0 passed this metric
2.1.0 failed this metric
2.1.0 passed this metric
Testing File Metric
2.1.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
2.1.0 passed this metric
2.1.0 failed this metric
2.1.0 passed this metric