cookbook 'koha', '~> 0.0.1', :supermarket
koha (1) Versions 0.0.1 Follow0
Installs/Configures koha
cookbook 'koha', '~> 0.0.1'
knife supermarket install koha
knife supermarket download koha
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 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.1 passed this metric
Publish Metric
0.0.1 passed this metric
Supported Platforms 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
0.0.1 failed this 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 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.1 passed this metric
Publish Metric
0.0.1 passed this metric
Supported Platforms 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
0.0.1 failed this metric
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 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.1 passed this metric
Publish Metric
0.0.1 passed this metric
Supported Platforms 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
0.0.1 passed this 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
0.0.1 failed this 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