Forge Home

lightdm

Configures lightdm display manager.

8,276 downloads

4,566 latest version

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

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.1.1 (latest)
  • 0.1.0
released Mar 6th 2019

Start using this module

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

Add this module to your Puppetfile:

mod 'gizmoguy-lightdm', '0.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add gizmoguy-lightdm
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install gizmoguy-lightdm --version 0.1.1

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

Documentation

gizmoguy/lightdm — version 0.1.1 Mar 6th 2019

lightdm

Table of Contents

  1. Overview
  2. Setup - The basics of getting started with lightdm
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.

Overview

This is a simple Puppet module for managing the lightdm display-manager and setting lightdm as the system-wide display-manager for systemd systems.

Setup

What lightdm affects

  • Installs lightdm package
  • Manages /etc/lightdm/lightdm.conf
  • Manages /etc/lightdm/users.conf
  • Manages /etc/X11/default-display-manager

Beginning with lightdm

include '::lightdm'

Usage

Typical usage will involve installing lightdm and setting it as the default display-manager for the machine. We can also use the module to write out a lightdm.conf for configuring lightdm.

class { '::lightdm':
  config => {
    'Seat:*' => {
      'greeter-show-manual-login' => 'true'
    }
}

Reference

Parameters

####config

Hash of configuration sections and keys/values to apply to lightdm.conf

####config_users

Hash of configuration sections and keys/values to apply to users.conf

####greeter

Which greeter to install and configure as the default.

####make_default

Boolean. If true the module will set lightdm as the default X11 display-manager and update the systemd display-manager.service symlink to point to lightdm.

####service_manage

Boolean. If true the module will restart lightdm after config changes.

Limitations

This module has been built on and tested against Puppet 3.x.

This module has been tested on:

  • Ubuntu 16.04