gdm
: This class configures, installs, and ensures GDM is running.gdm::config
: Configuration items for GDMgdm::service
: Ensures the GDM service is properly configured
gdm::install
: Install the GDM components
gdm::set
: This define allows you to set individual configuration elements in
Gdm::ConfSection
: Top level sections in /etc/gdm/custom.confGdm::CustomConf
: Configuration for /etc/gdm/custom.conf
@see dconf(5) @see data/common.yaml
The following parameters are available in the gdm
class:
dconf_hash
packages
settings
package_ensure
include_sec
auditd
pam
display_mgr_user
banner
simp_banner
banner_content
Data type: Dconf::SettingsHash
dconf
settings applicable to GDM
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
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 } }
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' })
Data type: Boolean
Boolean This no longer has any effect
Default value: true
Data type: Boolean
Enable auditd support for this module via the simp-auditd
module
Default value: simplib::lookup('simp_options::auditd', { 'default_value' => false })
Data type: Boolean
Enable pam support for this module via the simp-pam
module
Default value: simplib::lookup('simp_options::pam', { 'default_value' => false })
Data type: String[1]
The name of the local user that runs the display manager. If pam is enabled this user will be given local access to the system to it can start the service.
Default value: 'gdm'
Data type: Boolean
Enable a login screen banner
- NOTE: any banner settings set via
dconf_hash
will take precedence
Default value: true
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'
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
Configuration items for GDM
This will NOT switch the runlevel by default since this is a potentially dangerous activity if graphics drivers are having issues.
The following parameters are available in the gdm::service
class:
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.
Default value: undef
/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
The following parameters are available in the gdm::set
defined type:
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'
Data type: String
The actual key value that you wish to change under $section.
Data type: Variant[Boolean,String]
The value to which $key should be set under $section
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']
Configuration for /etc/gdm/custom.conf
Alias of
Hash[Gdm::ConfSection, Hash[
String[1],
NotUndef
]]