| 1 |
# Matches Systemd Login Manager Struct |
| 2 |
type Systemd::LogindSettings = Struct[ |
| 3 |
# lint:ignore:140chars |
| 4 |
{ |
| 5 |
Optional['HandleHibernateKey'] => Variant[Enum['ignore','poweroff','reboot','halt','kexec','suspend','hibernate','hybrid-sleep','suspend-then-hibernate','lock'],Systemd::LogindSettings::Ensure], |
| 6 |
Optional['HandleLidSwitch'] => Variant[Enum['ignore','poweroff','reboot','halt','kexec','suspend','hibernate','hybrid-sleep','suspend-then-hibernate','lock'],Systemd::LogindSettings::Ensure], |
| 7 |
Optional['HandleLidSwitchDocked'] => Variant[Enum['ignore','poweroff','reboot','halt','kexec','suspend','hibernate','hybrid-sleep','suspend-then-hibernate','lock'],Systemd::LogindSettings::Ensure], |
| 8 |
Optional['HandleLidSwitchExternalPower'] => Variant[Enum['ignore','poweroff','reboot','halt','kexec','suspend','hibernate','hybrid-sleep','suspend-then-hibernate','lock'],Systemd::LogindSettings::Ensure], |
| 9 |
Optional['HandlePowerKey'] => Variant[Enum['ignore','poweroff','reboot','halt','kexec','suspend','hibernate','hybrid-sleep','suspend-then-hibernate','lock'],Systemd::LogindSettings::Ensure], |
| 10 |
Optional['HandleSuspendKey'] => Variant[Enum['ignore','poweroff','reboot','halt','kexec','suspend','hibernate','hybrid-sleep','suspend-then-hibernate','lock'],Systemd::LogindSettings::Ensure], |
| 11 |
Optional['HibernateKeyIgnoreInhibited'] => Variant[Enum['yes','no'],Systemd::LogindSettings::Ensure], |
| 12 |
Optional['HoldoffTimeoutSec'] => Variant[Integer,Systemd::LogindSettings::Ensure], |
| 13 |
Optional['IdleAction'] => Variant[Enum['ignore','poweroff','reboot','halt','kexec','suspend','hibernate','hybrid-sleep','suspend-then-hibernate','lock'],Systemd::LogindSettings::Ensure], |
| 14 |
Optional['IdleActionSec'] => Variant[Integer,Systemd::LogindSettings::Ensure], |
| 15 |
Optional['InhibitDelayMaxSec'] => Variant[Integer,Systemd::LogindSettings::Ensure], |
| 16 |
Optional['InhibitorsMax'] => Variant[Integer,Systemd::LogindSettings::Ensure], |
| 17 |
Optional['KillExcludeUsers'] => Variant[Array[String],Systemd::LogindSettings::Ensure], |
| 18 |
Optional['KillOnlyUsers'] => Variant[Array[String],Systemd::LogindSettings::Ensure], |
| 19 |
Optional['KillUserProcesses'] => Variant[Enum['yes','no'],Systemd::LogindSettings::Ensure], |
| 20 |
Optional['LidSwitchIgnoreInhibited'] => Variant[Enum['yes','no'],Systemd::LogindSettings::Ensure], |
| 21 |
Optional['NAutoVTs'] => Variant[Integer,Systemd::LogindSettings::Ensure], |
| 22 |
Optional['PowerKeyIgnoreInhibited'] => Variant[Enum['yes','no'],Systemd::LogindSettings::Ensure], |
| 23 |
Optional['RemoveIPC'] => Variant[Enum['yes','no'],Systemd::LogindSettings::Ensure], |
| 24 |
Optional['ReserveVT'] => Variant[Integer,Systemd::LogindSettings::Ensure], |
| 25 |
Optional['RuntimeDirectorySize'] => Variant[Integer,Pattern['^(\d+(K|M|G|T|P|E|%)?)$'],Systemd::LogindSettings::Ensure], |
| 26 |
Optional['SessionsMax'] => Variant[Integer,Pattern['^(infinity|(\d+(K|M|G|T|P|E|%)?))$'],Systemd::LogindSettings::Ensure], |
| 27 |
Optional['SuspendKeyIgnoreInhibited'] => Variant[Enum['yes','no'],Systemd::LogindSettings::Ensure], |
| 28 |
Optional['UserTasksMax'] => Variant[Integer,Pattern['^(infinity|(\d+(K|M|G|T|P|E|%)?))$'],Systemd::LogindSettings::Ensure] |
| 29 |
} |
| 30 |
# lint:endignore |
| 31 |
] |