From: Silvio Rhatto Date: Fri, 14 Oct 2016 20:31:23 +0000 (-0300) Subject: Adds nodo::subsystem::keyboard::thinkpad::abnt2 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=992f986474918f85fa39eef768a0a94df76675ec;p=puppet-nodo.git Adds nodo::subsystem::keyboard::thinkpad::abnt2 --- diff --git a/files/etc/console/boottime.kmap.gz.thinkpad.abnt2 b/files/etc/console/boottime.kmap.gz.thinkpad.abnt2 new file mode 100644 index 0000000..f7e554e Binary files /dev/null and b/files/etc/console/boottime.kmap.gz.thinkpad.abnt2 differ diff --git a/files/etc/default/keyboard/thinkpad.abnt2 b/files/etc/default/keyboard/thinkpad.abnt2 new file mode 100644 index 0000000..f18fc73 --- /dev/null +++ b/files/etc/default/keyboard/thinkpad.abnt2 @@ -0,0 +1,10 @@ +# KEYBOARD CONFIGURATION FILE + +# Consult the keyboard(5) manual page. + +XKBMODEL="abnt2" +XKBLAYOUT="br" +XKBVARIANT="thinkpad" +XKBOPTIONS="compose:ralt,terminate:ctrl_alt_bksp" + +BACKSPACE="guess" diff --git a/manifests/subsystem/keyboard/thinkpad/abnt2.pp b/manifests/subsystem/keyboard/thinkpad/abnt2.pp new file mode 100644 index 0000000..53405d5 --- /dev/null +++ b/manifests/subsystem/keyboard/thinkpad/abnt2.pp @@ -0,0 +1,9 @@ +class nodo::subsystem::keyboard::thinkpad::abnt2 inherits nodo::subsystem::keyboard { + File['/etc/default/keyboard'] { + source => "puppet:///modules/nodo/etc/default/keyboard/thinkpad.abnt2", + } + + File['/etc/console/boottime.kmap.gz'] { + source => "puppet:///modules/nodo/etc/console/boottime.kmap.gz.thinkpad.abnt2", + } +}