gdm

partner
manages GDM

13,008 downloads

143 latest version

5.0 quality score

Version information

  • 7.10.0 (latest)
  • 7.9.0
  • 7.7.0
  • 7.5.0
  • 7.4.1
  • 7.4.0
  • 7.3.0
  • 7.2.3
  • 7.2.2
  • 7.2.1
  • 7.2.0
  • 7.1.1
  • 7.1.0
  • 7.0.3
  • 7.0.2
  • 7.0.1
released Jul 28th 2020
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x
  • Puppet >= 5.0.0 < 7.0.0
  • CentOS
    ,
    RedHat
    ,
    OracleLinux

Start using this module

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

Add this module to your Puppetfile:

mod 'simp-gdm', '7.2.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add simp-gdm
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install simp-gdm --version 7.2.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

Documentation

simp/gdm — version 7.2.2 Jul 28th 2020

Reference

Table of Contents

Classes

Public Classes

  • gdm: This class configures, installs, and ensures GDM is running.
  • gdm::config: Configuration items for GDM
  • gdm::service: Ensures the GDM service is properly configured

Private Classes

  • gdm::install: Install the GDM components

Defined types

  • gdm::set: This define allows you to set individual configuration elements in

Data types

Classes

gdm

@see dconf(5) @see data/common.yaml

Parameters

The following parameters are available in the gdm class.

dconf_hash

Data type: Dconf::SettingsHash

dconf settings applicable to GDM

packages

Data type: Hash[String[1], Optional[Hash]]

A Hash of packages to be installed

  • NOTE: Setting this will override the default package list
  • The ensure value can be set in the hash of each package, like the example below:

@example Override packages { 'gdm' => { 'ensure' => '1.2.3' } }

@see data/common.yaml

settings

Data type: Gdm::CustomConf

A Hash of settings that will be applied to /etc/gdm/custom.conf

The top-level section keys are well defined but the sub-keys will not be validated

@example Set [chooser] and [daemon] options { 'chooser' => { 'Multicast' => 'false' }, 'daemon' => { 'TimedLoginEnable' => 'false' 'TimedLoginDelay' => 30 } }

package_ensure

Data type: Simplib::PackageEnsure

The SIMP global catalyst to set the default ensure settings for packages managed with this module.

Default value: simplib::lookup('simp_options::package_ensure', { 'default_value' => 'installed' })

include_sec

Data type: Boolean

Boolean This no longer has any effect

Default value: true

auditd

Data type: Boolean

Enable auditd support for this module via the simp-auditd module

Default value: simplib::lookup('simp_options::auditd', { 'default_value' => false })

banner

Data type: Boolean

Enable a login screen banner

  • NOTE: any banner settings set via dconf_hash will take precedence

Default value: true

simp_banner

Data type: String[1]

The name of a banner from the simp_banners module that should be used

  • Has no effect if banner is not set
  • Has no effect if banner_content is set

Default value: 'simp'

banner_content

Data type: Optional[String[1]]

The full content of the banner, without alteration

  • GDM cannot handle '\n' sequences so any banner will need to have those replaced with the literal '\n' string.

Default value: undef

gdm::config

Configuration items for GDM

gdm::service

This will NOT switch the runlevel by default since this is a potentially dangerous activity if graphics drivers are having issues.

Parameters

The following parameters are available in the gdm::service class.

services

Data type: Optional[Array[String[1]]]

A list of services relevant to the proper functioning of GDM

  • These services will not be individually managed. Instead, this list will be used for ensuring that the services are not disabled by the svckill module if it is present.

@see data/os/*.yaml

Default value: undef

Defined types

gdm::set

/etc/gdm/custom.conf without explicitly needing to use an inifile resource.

If you wish to simply use inifile, that is perfectly valid!

For particular configuration parameters, please see: http://projects.gnome.org/gdm/docs/2.16/configuration.html

Parameters

The following parameters are available in the gdm::set defined type.

section

Data type: Gdm::ConfSection

The section that you wish to manipulate. Valid values are 'daemon', 'security','xdmcp', 'gui','greeter', 'chooser', 'debug', 'servers', 'server-Standard', 'server-Terminal', and 'server-Chooser'

key

Data type: String

The actual key value that you wish to change under $section.

value

Data type: Variant[Boolean,String]

The value to which $key should be set under $section

Data types

Gdm::ConfSection

Top level sections in /etc/gdm/custom.conf

Alias of Enum['daemon', 'security', 'xdmcp', 'gui', 'greeter', 'chooser', 'debug', 'servers', 'server-Standard', 'server-Terminal', 'server-Chooser']

Gdm::CustomConf

Configuration for /etc/gdm/custom.conf

Alias of Hash[Gdm::ConfSection, Hash[ String[1], NotUndef ]]