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

crowd (9) Versions 1.2.2

Installs/Configures Atlassian Crowd

Policyfile
Berkshelf
Knife
cookbook 'crowd', '~> 1.2.2', :supermarket
cookbook 'crowd', '~> 1.2.2'
knife supermarket install crowd
knife supermarket download crowd
README
Dependencies
Changelog
Quality 33%

Crowd Cookbook

Chef cookbook
Build Status

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

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

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 or none 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