Installs the application Kodi




4,891 latest version

4.3 quality score

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
  • windows

Start using this module

Tags: kodi, xbmc


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


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).


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 => '',
      musicdatabase_type => 'mysql',
      musicdatabase_host => '',

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 => '',
      musicdatabase_type => 'mysql',
      musicdatabase_host => '',


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