Skip to content

A puppet module to completely install ZoneMinder from source

Notifications You must be signed in to change notification settings

knight-of-ni/puppet-zoneminder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 

Repository files navigation

puppet-zoneminder

Overview

A puppet module to completely install ZoneMinder 1.26.0-beta.1 from source. The ZoneMinder source is patched with mastertheknife's performance patch, and nextime's plugin architecture patch, including his licence plate and facial recognition plugins. After running this module, you will have a working ZoneMinder 1.26.0-beta.1 install.

How to use - Read Me First!

This module is designed to be used with a puppet solo install. If you are already using puppet and have declared mysql, apache, or any of the other prerequisites defined in zoneminder::params, this module will fail to run due to resource declaration issues.

  1. Install a fresh Ubuntu 12.04 server. I went with a minimal install, but a normal install will also work.
  2. Configure network, SSH, whatever else.
  3. Run the following code.
  4. Pray. Just kidding. But seriously. If something breaks, please report it to me (refer to the Troubleshooting / Getting Support section below)
sudo apt-get update && sudo apt-get install puppet git-core -y
git clone git://github.com/kylejohnson/puppet-zoneminder.git zoneminder
sudo puppet apply --verbose --modulepath=`pwd` -e 'include zoneminder'

Platforms

  • Ubuntu 12.04
  • Ubuntu 13.04

Troubleshooting / Getting Support

  • I'm in #zoneminder on irc.freenode.net as fixxxermet. Feel free to drop by and ask for help!

Issues

  • I found a bug where ldconfig has not run in the right order, thus none of the zoneminder binaries will start. After this module runs, stop zoneminder, run ldconfig as root, and then start zoneminder.
  • Need to add checks for Ubuntu. This module will probably fail misserably on a non-Ubuntu / Debian distro.
  • Should I use fastcgi and nginx?
  • You will want to manually create a mysql root password after running this module, as the mysql root user does not have a password by default.

About

A puppet module to completely install ZoneMinder from source

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Puppet 100.0%