cookbook 'crowd', '~> 1.2.2'
crowd (9) Versions 1.2.2 Follow7
Installs/Configures Atlassian Crowd
cookbook 'crowd', '~> 1.2.2', :supermarket
knife supermarket install crowd
knife supermarket download crowd
Crowd Cookbook
This cookbook installs Atlassian's Crowd. It defaults to using PostgreSQL for
its DB and Nginx for its proxy.
It sets up a full working system after which you can run Atlassian's configuration
wizard. If you want more influence, you can write a wrapper cookbook for your
specific setup.
Supports
- Ubuntu 14.04
Other platforms or versions may or may not work, but I've simply not tested them
at this time. If your run this cookbook on another platform or version
successfully, please let me know in GitHub issues.
Usage
crowd::default
Just include crowd
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[crowd]" ] }
Attributes
These attributes are under the node['crowd']
namespace.
Attribute | Description | Type | Default |
---|---|---|---|
home_path | home directory | String | /var/atlassian/application-data/crowd |
init_type | JIRA init service type - "sysv" | String | sysv |
install_path | location to install | String | /opt/atlassian |
install_type | Install type - currently only "standalone" | String | standalone |
version | Version to install | String | 2.8.3 |
ssl | Whether to use SSL to secure Crowd | Boolean | false |
user | user running Crowd | String | crowd |
group | group running Crowd | String | crowd |
These attributes are under the node['crowd']['database']
namespace.
Attribute | Description | Type | Default |
---|---|---|---|
type | DB type to use - "postgresql" or "hsqldb"/"none" | String | postgresql |
host | FQDN to DB machine or "localhost" for local installs | String | localhost |
port | DB port | String | 5432 |
name | DB name | String | crowd |
user | DB user | String | crowd |
password | DB user password | String | changeit |
Contributing
- Fork the repository on Github
- Create a named feature or bug branch (like
add_component_x
) - Write your change
- Write ChefSpec / ServerSpec tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Licensed under MIT, see LICENSE for details.
Authors: Martijn van der Kleijn martijn.vanderkleijn@klm.com
Dependent cookbooks
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
x.y.z (pending)
1.2.2
- Forgot the prefix crowd-home in crowd-init.properties
1.2.1
- Pin ohai to below 4.0.0 due to incompatibility from nginx-proxy cookbook
1.2.0
- Use JDK 8 by default
- Make Crowd PID location configurable
- Added support for MySQL - thanks wolf31o2
- Added ability to set database type to
hsqldb
ornone
for a no-op. [GH-14] - Slight tweaks to ark usage to standardize with Jira/Confluence cookbooks.[GH-13]
- Pin ohai version due to incompatibility from nginx-proxy cookbook
1.1.3
- Add Crowd 2.8.4 support
- Loosen Postgresql cookbook requirement
- Fix rubocop issues
1.1.1
- Add auto-tuning for Postgresql
- Remove some unused attributes
- Move Crowd versions and checksums from attributes to library
- Add a few more tests and docs
1.0.0
- Rename chef_crowd -> crowd to reflect supermarket namespace change
0.1.2
- Fix permissions issue for property files
- Add dependency on build-essential
0.1.1
- Remove generation of crowd.cfg.xml
- Use correct attribute for Crowd URL generation
0.1.0
- Initial release of chef_crowd
Collaborator Number Metric
1.2.2 passed this metric
Contributing File Metric
1.2.2 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.2.2 failed this metric
FC009: Resource attribute not recognised: crowd/recipes/standalone.rb:18
FC022: Resource condition within loop may not behave as expected: crowd/recipes/nginx.rb:24
FC022: Resource condition within loop may not behave as expected: crowd/recipes/nginx.rb:40
FC066: Ensure chef_version is set in metadata: crowd/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: crowd/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: crowd/recipes/database.rb:15
FC122: Use the build_essential resource instead of the recipe: crowd/recipes/default.rb:15
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.2.2 passed this metric
Testing File Metric
1.2.2 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.2.2 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
1.2.2 passed this metric
1.2.2 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.2.2 failed this metric
FC009: Resource attribute not recognised: crowd/recipes/standalone.rb:18
FC022: Resource condition within loop may not behave as expected: crowd/recipes/nginx.rb:24
FC022: Resource condition within loop may not behave as expected: crowd/recipes/nginx.rb:40
FC066: Ensure chef_version is set in metadata: crowd/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: crowd/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: crowd/recipes/database.rb:15
FC122: Use the build_essential resource instead of the recipe: crowd/recipes/default.rb:15
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.2.2 passed this metric
Testing File Metric
1.2.2 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.2.2 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
1.2.2 failed this metric
FC022: Resource condition within loop may not behave as expected: crowd/recipes/nginx.rb:24
FC022: Resource condition within loop may not behave as expected: crowd/recipes/nginx.rb:40
FC066: Ensure chef_version is set in metadata: crowd/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: crowd/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: crowd/recipes/database.rb:15
FC122: Use the build_essential resource instead of the recipe: crowd/recipes/default.rb:15
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.2.2 passed this metric
Testing File Metric
1.2.2 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.2.2 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
1.2.2 failed this metric
1.2.2 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