Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
inetstation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ccc-ffm
inetstation
Commits
535d5073
Commit
535d5073
authored
9 years ago
by
schiermi
Browse files
Options
Downloads
Patches
Plain Diff
Experiments part 23
parent
c41db152
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/system/files/etc/systemd/logind.conf
+28
-0
28 additions, 0 deletions
modules/system/files/etc/systemd/logind.conf
modules/system/manifests/init.pp
+10
-0
10 additions, 0 deletions
modules/system/manifests/init.pp
with
38 additions
and
0 deletions
modules/system/files/etc/systemd/logind.conf
0 → 100644
+
28
−
0
View file @
535d5073
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# See logind.conf(5) for details
[
Login
]
#NAutoVTs=6
#ReserveVT=6
KillUserProcesses
=
yes
#KillOnlyUsers=
KillExcludeUsers
=
root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
#HandleLidSwitch=suspend
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
This diff is collapsed.
Click to expand it.
modules/system/manifests/init.pp
+
10
−
0
View file @
535d5073
...
...
@@ -38,6 +38,16 @@ class system {
require
=>
Exec
[
'pam_auth_update'
],
}
exec
{
'systemd-reload'
:
command
=>
'/bin/systemctl daemon-reload'
,
refreshonly
=>
true
,
}
file
{
'/etc/systemd/logind.conf'
:
source
=>
'puppet:///modules/system/etc/systemd/logind.conf'
,
notify
=>
Exec
[
'systemd-reload'
],
}
package
{
'chrony'
:
ensure
=>
installed
,
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment