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

unifi-video (10) Versions 1.1.3

Installs/Configures Ubiquiti UniFi Video

Berkshelf/Librarian
Policyfile
Knife
cookbook 'unifi-video', '~> 1.1.3'
cookbook 'unifi-video', '~> 1.1.3', :supermarket
knife cookbook site install unifi-video
knife cookbook site download unifi-video
README
Dependencies
Changelog
Quality

unifi-video cookbook

Build Status

This cookbook is used to install UniFi Video - software to manage the Ubiquiti UniFi Video Cameras.

Requirements

Depends on cookbooks:

  • apt

Supported Platforms

Tested and runs on:

  • Ubuntu 12.04
  • Ubuntu 14.04
  • Debian 7/8

Operating systems not listed above is NOT SUPPORTED, but can be overridden with default['unifi-video']['override'] set to true.

Attributes

Key Description Values
node['unifi-video']['package'] Name of UniFi Video package to install unifi-video
node['unifi-video']['install_method'] Method to install UniFi Video repo or package
node['unifi-video']['version'] In case of package installation this defines version 3.1.1
node['unifi-video']['url'] URL where to get package if install method is package
node['unifi-video']['mongo-package'] Name of mongodb package to install mongodb-org-server
node['unifi-video']['packages'] Dependencies for package installation ["openjdk-7-jre-headless", "jsvc"]
node['unifi-video']['service'] Name of unifi-video service unifi-video
node['unifi-video']['config-dir'] Path to configfile /var/lib/unifi-video
node['unifi-video']['config-file'] Name of configfile system.properties
node['unifi-video']['user'] unifi-video system user unifi-video
node['unifi-video']['group'] unifi-video system group unifi-video
node['unifi-video']['configure'] Flag to customize unifi-video settings (Risky!) false
node['unifi-video']['override'] Override OS check (Use at your own risk!) false

If node['unifi-video']['configure'] is not equal to false, then configure recipe will run and customize unifi-video settings according to ['unifi-video']['conf'] attribute group. If attribute under ['unifi-video']['conf'] group has nil value - it will not be written to config.

Usage

Adjust attributes to suit your needs and include recipe [unifi-video::default] to deploy UniFi Video software.

Contributing

Your contributions is highly appreciated. Here is standart instruction how to do so:

  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  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

License and Authors

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

apt >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

1.1.3

  • updating to support unifi-video 3.1.1
  • added debian 7.8 and 8.1 support
  • fixed settings customization
  • added system_ip, app.keystorepass, app.session.timeout options to system.properties
  • code cleanup and small improvements

1.1.2

  • fixed stove version constraint
  • fixed travis build errors
  • fixed metadata.rb absence

1.1.1

  • added 1 new config variable and fixed db port value
  • dropped support for ubuntu 13.10, added override switch to use on non supported OS

1.1.0

  • made changes to be able to configure unifi-video

1.0.3

  • added travis-ci integration
  • added serverspec tests
  • fixed foodcritic dependency for travis

1.0.2

  • switched to mongodb 2.6, thus fixed ubuntu installation

1.0.1

  • added digitalocean support

1.0.0

  • added package install method

0.1.2

  • added debian7 support

0.1.1

  • updated readme
  • added proper ubuntu12+ detection

0.1.0

Initial release of unifi-video

Collaborator Number Metric
            

1.1.3 failed this metric

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

Contributing File Metric
            

1.1.3 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.1.3 failed this metric

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

License Metric
            

1.1.3 passed this metric

No Binaries Metric
            

1.1.3 passed this metric

Publish Metric
            

1.1.3 passed this metric

Supported Platforms Metric
            

1.1.3 passed this metric

Testing File Metric
            

1.1.3 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.1.3 passed this metric