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

koha (1) Versions 0.0.1

Installs/Configures koha

Policyfile
Berkshelf
Knife
cookbook 'koha', '~> 0.0.1', :supermarket
cookbook 'koha', '~> 0.0.1'
knife supermarket install koha
knife supermarket download koha
README
Dependencies
Quality 17%

Description

This cookbook installs a copy of the Koha library software (http://koha-community.org/) from git.

Requirements

Cookbooks:

  • apache2
  • mysql
  • perl

Platforms:

Currently only Ubuntu 12.04 is supported.

Attributes

  • default['koha']['install_mode'] - Koha install mode: "dev", "standard" or "single"
  • default['koha']['install_base'] - Where to put the git checkout
  • default['koha']['user']['name'] - User koha runs as
  • default['koha']['user']['home'] - Home directory for koha user
  • default['koha']['repository'] - Defaults to "git://git.koha-community.org/koha.git"
  • default['koha']['revision'] - Defaults to "3.8.x"
  • default['koha']['database']['type'] - mysql or postgres (only mysql supported by this cookbook)
  • default['koha']['database']['name'] - Name of the koha database
  • default['koha']['database']['host'] - Hostname of the database server
  • default['koha']['database']['port'] - Database port
  • default['koha']['database']['user'] - Database username for koha
  • default['koha']['database']['password'] - Database password for koha
  • default['koha']['database']['admin_user'] - Database admin user
  • default['koha']['database']['admin_password'] - Database admin password
  • default['koha']['webserver']['ip'] - IP address to serve koha on
  • default['koha']['webserver']['host'] - Hostname to serve koha on
  • default['koha']['webserver']['opac_port'] - Port for the OPAC to listen on
  • default['koha']['webserver']['admin_port'] - Port for the admin interface

Usage

{
  "koha": {
    "install_base": "/home/ubuntu/koha",
    "deploy": {
      "user": "ubuntu",
      "group": "ubuntu"
    },
    "user": {
      "home": "/home/ubuntu"
    }
  },
  "mysql": {
     "server_root_password": "password",
     "server_repl_password": "password",
     "server_debian_password": "password"
  },
  "apache": {
    "listen_ports": [
      "80", "8080"
    ]
  },
  "run_list": [
    "recipe[apache2]",
    "recipe[apache2::mod_rewrite]",
    "recipe[apache2::mod_headers]",
    "recipe[apache2::mod_deflate]",
    "recipe[perl]",
    "recipe[mysql::client]",
    "recipe[mysql::server]",
    "recipe[koha::requirements]",
    "recipe[koha]"
  ]
}

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.0.1 failed this metric

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

Contributing File Metric
            

0.0.1 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.0.1 failed this metric

FC064: Ensure issues_url is set in metadata: koha/metadata.rb:1
FC065: Ensure source_url is set in metadata: koha/metadata.rb:1
FC066: Ensure chef_version is set in metadata: koha/metadata.rb:1
FC069: Ensure standardized license defined in metadata: koha/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.0.1 passed this metric

Testing File Metric
            

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