Forge Home

mediatum

Install and configure mediatum with this Module

10,655 downloads

9,538 latest version

3.2 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

  • 0.3.2 (latest)
  • 0.3.1
  • 0.3.0
  • 0.2.0
  • 0.1.0
released Jan 12th 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'fadenb-mediatum', '0.3.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add fadenb-mediatum
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install fadenb-mediatum --version 0.3.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: mediatum

Documentation

fadenb/mediatum — version 0.3.2 Jan 12th 2014

puppet-mediatum

Overview

The mediatum module installs, configures and manages the mediatum service. It is capable of managing private mediatum extensions if they are available as package.

Usage

class { '::mediatum': }

This will install mediatum, create a basic (not suitable for production use) configuration and start mediatum via the initscript.

The mediatum class does not accept parameters. Change settings in params.pp (not recommended) or override defaults with hiera (recommended).

Install & configure mediatum modules

To install a mediatum-module (e.g. surfID):

  • inform mediatum module which additional packages have to be installed
  • pass the module a list of Augeas changes to be executed onto the mediatum configuration file

Example YAML for surfID module

---
# place keys here
# e.g. mediatum::package::package_state: present
mediatum::package::module_packages:
  - mediatum-surfid
mediatum::config::module_augeas_conf:
  - set services/activate true
  - set surfid/fingerprint_srvc_hostname 127.0.0.1:8080

Load fixtures

If you want to automatically load data into the MySQL DB and place files into mediatums data directory set source for sql commands and file archive (.tgz):

mediatum::fixtures::fixtures_sql_commands: file:///vagrant/mediatum.sql
mediatum::fixtures::fixtures_file_archive: file:///vagrant/mediatum_fixtures.tgz
  • Contents of the .sql file are any commands you can feed into mysql client.
  • Contents of the .tgz should be all additional files you want to place in the data directory

Warning: There is currentlys no check if the fixture loading actions are destructive!