Forge Home


Provisions Ubiquiti's Video Surveillance software


6,981 latest version

3.0 quality score

Version information

  • 1.0.0 (latest)
  • 0.1.0
released Jan 2nd 2017

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'jethrocarr-unifi_video', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jethrocarr-unifi_video
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jethrocarr-unifi_video --version 1.0.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



jethrocarr/unifi_video — version 1.0.0 Jan 2nd 2017



Provisions the Unifi Video software provided by Ubiquiti for use with their IP-based video survelliance products.


Currently this module is limited to installed a specific version of the server:

class { '::unifi_video':
  app_version => '3.1.2', # pin specific version

If left unset, app_version will be updated semi-frequently to the latest version offered by Ubiquiti. If this isn't something you'd like, please pin the version either using the syntax above, or by using Hiera.

This module does not configure any kind of firewall, it is strongly recommended that you firewall this system heavily.

You may also wish to change the https port to be something more convenient (eg 443), if you change it from 7443, this module setups a firewall/NAT redirect from 443 to 7443, since the port can't be changed using any built in approach inside Unifi Video itself. This requires the puppetlabs/firewall module.

Note, since this port change takes place in prerouting, you'll need to allow access to TCP/7443 regardless of what you change the port to in your iptables firewall rules.


There is also a companion class that can be used to backup video recordings to an Amazon S3 bucket for off-site safe keeping. This uses lsyncd and awscli to trigger copies of files as they're written to disk to ensure prompt upload of any content.

class { '::unifi_video::backup':
  $target                => 's3://bucketname/videobackup,
  $aws_access_key_id     => 'Required if not using IAM roles',
  $aws_secret_access_key => 'Required if not using IAM roles',

Warning: Do not include a trailing slash on target param, it causes unexpected issues with AWS S3 directory browsing.


The currently listed GNU/Linux platforms at the Ubiquiti support page are supported by this module.

There is no RHEL/clone version or any platforms other than x86_64 because Ubiquiti don't provide any software/support for those platforms.


Ubiquiti don't make the software available as a proper APT repo, so we can't (easily) do things like check for the latest version - so we currently pin to specific versions.

The downloads of their package come direct from their website, if they change their download methodology or packaging approach, this could break in future.


All contributions are welcome via Pull Requests including documentation fixes or compatibility fixes for supporting other distributions (or other operating systems).


This module is licensed under the Apache License, Version 2.0 (the "License"). See the LICENSE or

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.