Forge Home

piwik

Puppet Piwik Module

10,203 downloads

9,185 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 2.0.2 (latest)
  • 2.0.1
  • 2.0.0
  • 1.0.2
released Sep 10th 2015
This version is compatible with:
  • , , , , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'klyall-piwik', '2.0.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add klyall-piwik
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install klyall-piwik --version 2.0.2

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.

Download
Tags: piwik

Documentation

klyall/piwik — version 2.0.2 Sep 10th 2015

Piwik

A puppet module to easily deploy Piwik.

This is an opinionated module that will by default install Apache, PHP and Piwik in the root of the web server.

Usage

The simplest installation can be achieved with the following:

class { 'piwik': }

The installation can be tailored by specifying any of the parameters in the class definition. Here is an example with the default values:

class { 'piwik':
  web_server => 'apache',
  version    => 'latest',
  path       => "/var/www/html",
  user        => "apache",
 }

Note: If you use a different, make sure the user has been created first.

Please note: After the first installation you have to initialize piwik by bootstrapping the database. For this use the setup gui in your browser according to the piwik installation manual.

Plugins

LoginLdap

LoginLdap is a plugin to enable ldap authentication.

Just make sure you have php-ldap installed.

Then use:

php::module { "php-ldap": }

class { 'piwik::plugins::loginldap': }

Contribute

Want to help - send a pull request.

Suggestions

  • Nginx instead of Apache (create install_nginx.pp etc.)