summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-01-12 01:27:16 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-01-12 01:27:16 +0100
commit5d0506f42bc3af7befa4f497e090faaa31dcacf6 (patch)
tree8043cd1f8e177183ee0751f9179444a7a7dc70e5
parentFix blkid fact. (diff)
downloadwebdav_server-5d0506f42bc3af7befa4f497e090faaa31dcacf6.tar.gz
webdav_server-5d0506f42bc3af7befa4f497e090faaa31dcacf6.tar.xz
Raise X11 max clients.
-rw-r--r--modules/profiles/manifests/workstation.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/profiles/manifests/workstation.pp b/modules/profiles/manifests/workstation.pp
index cfc413e..167faef 100644
--- a/modules/profiles/manifests/workstation.pp
+++ b/modules/profiles/manifests/workstation.pp
@@ -37,6 +37,21 @@ class profiles::workstation (
$xkb_variant = 'dvorak_a6'
$xkb_options = 'compose:caps'
+ file { '/etc/X11/xorg.conf.d':
+ ensure => directory,
+ recurse => false,
+ }
+
+ file { 'X11 Raise max clients':
+ ensure => file,
+ path => '/etc/X11/xorg.conf.d/99-maxclients.conf',
+ content => @(EOF)
+ Section "ServerFlags"
+ Option "MaxClients" "2048"
+ EndSection
+ | EOF
+ }
+
file { 'Default X11 keymap':
ensure => file,
path => '/etc/X11/xorg.conf.d/00-keyboard.conf',