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

RSS

ohmage (1) Versions 0.1.0

Installs ohmage server and related clients

Berkshelf/Librarian
Policyfile
Knife
cookbook 'ohmage', '~> 0.1.0'
cookbook 'ohmage', '~> 0.1.0', :supermarket
knife cookbook site install ohmage
knife cookbook site download ohmage
README
Dependencies
Changelog
Quality

ohmage Cookbook

Installs and configures the ohmage project and related clients. Information about ohmage can be found at http://www.ohmage.org. This is an early version of this cookbook, done by someone quite new to chef -- please feel free to offer comments/suggestions.

ohmage has been mainly tested and used in a small single-system environment, so it is recommended to create an ohmage-server role that includes (in order): ohmage::mysql, ohmage::nginx and ohmage::default to ensure a fully-running ohmage setup.

Please note that as of the time of writing this, the mysql_chef-gem package and database package were avoided due to some odd behavior on Ubuntu 14.04.

Requirements

Platforms

  • Ubuntu

Dependencies

  • java
  • tomcat
  • mysql
  • git
  • nginx
  • ant (if compiling the server)
  • build-essential (if compiling the server)

Attributes

  • default['ohmage']['version'] - The version of ohmage to install, default 2.16
  • default['ohmage']['user_setup'] - Whether or not to install the user_setup version of ohmage, default false
  • default['ohmage']['install_method'] - Whether to download the pre-compiled server war, or build the source, default download
  • default['ohmage']['data_dir'] - Location of the ohmage userdata files, default /var/lib/ohmage
  • default['ohmage']['log_dir'] - Location of the ohmage log files, default /var/log/ohmage
  • default['ohmage']['navbar'] - Whether to deploy the iframe-based navbar for frontend clients, default true
  • default['ohmage']['log_level'] - Log level for ohmage logging, default DEBUG
  • default['ohmage']['db']['host'] - Hostname for the mysql server, default localhost
  • default['ohmage']['db']['port'] - Port number for the mysql server, 3306
  • default['ohmage']['db']['name'] - Database name for the mysql server, default ohmage
  • default['ohmage']['db']['user'] - Username for the mysql database, default ohmage
  • default['ohmage']['db']['password'] - Password for the mysql database, default pleasechangeme

Usage

ohmage::default

Sets up the system pre-requisites for ohmage (java, tomcat) and installs the ohmage server war file (either via http download or git clone and ant clean dist compilation, set via default['ohmage']['install_method'] attribute). Note: ohmage will fail to start without also providing attributes for default['ohmage']['db'] and/or including the ohmage::mysql recipe. in version 0.1.0 there may be some bugs when running mysql somewhere other than localhost.

ohmage::nginx

Installs nginx for use as a reverse proxy to ohmage and a static web-content server for the ohmage frontend clients. As of version 0.1.0 this does not handle SSL communication. If default['ohmage']['navbar'] is set to true (the default), this recipe will also install the ohmage navbar at the nginx root directory (by default is /var/www/).

ohmage::frontends

Installs the open source ohmage frontends from pre-compiled packages (those that need to be built/compiled) and from source (using git clone). These will be installed to /var/www/webapps by default.

License and Authors

Copyright:: 2014, UC Regents

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

nginx >= 0.0.0
ant >= 0.0.0
git >= 0.0.0
mysql >= 0.0.0
build-essential >= 0.0.0
tomcat >= 0.0.0
java >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

ohmage CHANGELOG

This file is used to list changes made in each version of the ohmage cookbook.

0.1.0

  • [your_name] - Initial release of ohmage

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Collaborator Number Metric
            

0.1.0 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.0 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.0 failed this metric

FC007: Ensure recipe dependencies are reflected in cookbook metadata: ohmage/recipes/default.rb:69
FC064: Ensure issues_url is set in metadata: ohmage/metadata.rb:1
FC065: Ensure source_url is set in metadata: ohmage/metadata.rb:1
FC066: Ensure chef_version is set in metadata: ohmage/metadata.rb:1
FC069: Ensure standardized license defined in metadata: ohmage/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.1.0 passed this metric

No Binaries Metric
            

0.1.0 passed this metric

Publish Metric
            

0.1.0 passed this metric

Supported Platforms Metric
            

0.1.0 passed this metric

Testing File Metric
            

0.1.0 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.0 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