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

etherpad-lite (2) Versions 0.1.2

Installs etherpad-lite

Policyfile
Berkshelf
Knife
cookbook 'etherpad-lite', '~> 0.1.2', :supermarket
cookbook 'etherpad-lite', '~> 0.1.2'
knife supermarket install etherpad-lite
knife supermarket download etherpad-lite
README
Dependencies
Quality 17%

etherpad-lite Cookbook

etherpad-lite::default

installs etherpad-lite

Requirements

cookbooks

  • nodejs - etherpad-lite runs on javascript
  • postgresql - we use postgres
  • npm - pg gem needs to be installed
  • nginx - Might not be the optimal way to run it

Attributes

The following attributes should be set based on your specific deployment, see the
attributes/default.rb file for default values. All values should be strings unless otherwise specified.

  • node['etherpad-lite']['title'] - Name your instance!
  • node['etherpad-lite']['favicon_url'] - favicon_url favicon default name, alternatively, set up a fully specified Url to your own favicon
  • node['etherpad-lite']['ip_address'] - IP address to bind
  • node['etherpad-lite']['port_number'] - (number) port number to bind
  • node['etherpad-lite']['ssl_enabled'] - (boolean) make sure to have the minimum and correct file access permissions set so that the Etherpad server can access them
  • node['etherpad-lite']['ssl_key_path'] - ssl key path
  • node['etherpad-lite']['ssl_cert_path'] - ssl cert path
  • node['etherpad-lite']['db_type'] - postgres, sqlite or mysql
  • node['etherpad-lite']['db_user'] - db user
  • node['etherpad-lite']['db_host'] - db host
  • node['etherpad-lite']['db_password'] - db password
  • node['etherpad-lite']['db_name'] - db name
  • node['etherpad-lite']['default_text'] - the default text of a pad
  • node['etherpad-lite']['require_session'] - (boolean) Users must have a session to access pads. This effectively allows only group pads to be accessed.
  • node['etherpad-lite']['edit_only'] - (boolean) Users may edit pads but not create new ones. Pad creation is only via the API. This applies both to group pads and regular pads.
  • node['etherpad-lite']['minify'] - if true, all css & js will be minified before sending to the client. This will improve the loading performance massivly, but makes it impossible to debug the javascript/css
  • node['etherpad-lite']['max_age'] - How long may clients use served javascript code (in seconds)? Without versioning this may cause problems during deployment. Set to 0 to disable caching
  • node['etherpad-lite']['abiword_path'] - This is the path to the Abiword executable. Setting it to null, disables abiword. Abiword is needed to advanced import/export features of pads
  • node['etherpad-lite']['require_authentication'] - This setting is used if you require authentication of all users. Note: /admin always requires authentication.
  • node['etherpad-lite']['require_authorization'] - Require authorization by a module, or a user with is_admin set, see below.
  • node['etherpad-lite']['admin_enabled'] - Enable the admin interface
  • node['etherpad-lite']['admin_password'] - Password for "admin" user.
  • node['etherpad-lite']['log_level'] - The log level we are using, can be: DEBUG, INFO, WARN, ERROR
  • node['etherpad-lite']['service_user'] - user to run etherpad
  • node['etherpad-lite']['service_user_gid'] - group to run etherpad
  • node['etherpad-lite']['service_user_home']- home dir
  • node['etherpad-lite']['etherpad_git_repo_url'] = set this to the git repo of your fork of etherpad-lite, or leave as default
  • node['etherpad-lite']['etherpad_api_key'] = sets the API key for the HTTP API (APIKEY.txt), if you leave it blank it will be generated for you by the app on first launch
  • node['etherpad-lite']['service_name'] = Name of service
  • node['etherpad-lite']['logs_dir'] = Path to logs directory
  • node['etherpad-lite']['domain'] = Domain where it is running
  • node['etherpad-lite']['plugins'] = An array of plugins to install. These should be strings of the plugin name, without the ep_ prefix (as seen in the etherpad-lite admin's plugin manager).

Usage

etherpad-lite::default

Override any defaults and then include the recipe in your run list or cookbook.

e.g.
Just include etherpad-lite in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[etherpad-lite]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

License: Apache 2.0

Authors:

Dependent cookbooks

nodejs >= 0.0.0
postgresql >= 0.0.0
npm >= 0.0.0
nginx >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.2 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.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
            

0.1.2 failed this metric

FC034: Unused template variables: etherpad-lite/templates/default/settings.json.erb:1
FC064: Ensure issues_url is set in metadata: etherpad-lite/metadata.rb:1
FC065: Ensure source_url is set in metadata: etherpad-lite/metadata.rb:1
FC066: Ensure chef_version is set in metadata: etherpad-lite/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: etherpad-lite/metadata.rb:1
FC069: Ensure standardized license defined in metadata: etherpad-lite/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.1.2 passed this metric

Testing File Metric
            

0.1.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
            

0.1.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