cookbook 'unifi-video', '= 1.1.1'
unifi-video (10) Versions 1.1.1 Follow3
Installs/Configures Ubiquiti UniFi Video
cookbook 'unifi-video', '= 1.1.1', :supermarket
knife supermarket install unifi-video
knife supermarket download unifi-video
unifi-video cookbook
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
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.0.8 |
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']['conf']['is_default'] | Use default settings for unifi-video | true |
node['unifi-video']['override'] | Override OS check (Use at your own risk!) | false |
If node['unifi-video']['conf']['is_default']
is not equal to true
, then configure
recipe will run and customize unifi-video.
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:
- Fork the repository on Github
- Create a named feature branch (i.e.
add-new-recipe
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request
License and Authors
- Author:: SiruS (https://github.com/podwhitehawk) ```text Copyright (C) 2014 SiruS (https://github.com/podwhitehawk)
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.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
Foodcritic Metric
1.1.1 failed this metric
FC031: Cookbook without metadata file: /tmp/cook/e6828710d9b3753ec03de6bd/unifi-video/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/e6828710d9b3753ec03de6bd/unifi-video/metadata.rb:1
1.1.1 failed this metric
FC045: Consider setting cookbook name in metadata: /tmp/cook/e6828710d9b3753ec03de6bd/unifi-video/metadata.rb:1