Version information
Start using this module
Add this module to your Puppetfile:
mod 'gizmoguy-lightdm', '0.1.1'
Learn more about managing modules with a PuppetfileDocumentation
lightdm
Table of Contents
- Overview
- Setup - The basics of getting started with lightdm
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- 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
Dependencies
- puppetlabs-stdlib (>= 1.0.0)
- puppetlabs-apt (<= 1.8.0)