Forge Home

kodi

Installs the application Kodi

7,201 downloads

5,848 latest version

4.3 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.7 (latest)
  • 0.3.6
  • 0.3.5
  • 0.3.4
  • 0.3.3 (deleted)
  • 0.3.2
  • 0.3.1
  • 0.3.0
released Jun 19th 2017
This version is compatible with:
  • Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.5.0 < 5.0.0
  • ,

Start using this module

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

Add this module to your Puppetfile:

mod 'dermac-kodi', '0.3.7'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add dermac-kodi
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install dermac-kodi --version 0.3.7

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: xbmc, kodi

Documentation

dermac/kodi — version 0.3.7 Jun 19th 2017

Kodi module for puppet

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with kodi
  4. Limitations

Overview

The kodi-module installs the application kodi and creates the user-config

Module Description

The kodi-module installs the application by downloading the given link and runs the installer in silent mode. This happens only if the installed version is older (or not present) than the version that should be installed

The userconfig-resource creates a personalized configuration for the given user. If the user is not present, the resource can create the user for you (please change the default password 'chang3_me' as soon as possible).

Setup

What kodi affects

The kodi-module downloads the installation-file to the temp-directory of the user running the puppet-agent.

The resource userconfig creates or changes the advancedsettings.xml in the userdata-directory of the given user.

Setup Requirements OPTIONAL

The kodi-module uses the puppet-download_file module

Beginning with kodi

for a simple kodi-installation use:

    class { "kodi" :
    }

To install a specific version of kodi on Windows:

    class { "kodi" :
      package_version => '17.3',
      download_link => 'http://mirrors.kodi.tv/releases/win32/kodi-17.3-Krypton.exe',
    }

To configure the user Bob to use a mysql kodi-database-connection:

    kodi::resource::userconfig { 'bob':
      videodatabase_type => 'mysql',
      videodatabase_host => '192.168.1.1',
      musicdatabase_type => 'mysql',
      musicdatabase_host => '192.168.1.1',
    }

To configure the user Bob to use a mysql kodi-database-connection and the user is not present on the system:

    kodi::resource::userconfig { 'bob':
      create_missing_user => true,
      videodatabase_type => 'mysql',
      videodatabase_host => '192.168.1.1',
      musicdatabase_type => 'mysql',
      musicdatabase_host => '192.168.1.1',
    }

Limitations

At the Moment, only windows 7, windows 10 and fedora 25 are supported.