From 992f986474918f85fa39eef768a0a94df76675ec Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 14 Oct 2016 17:31:23 -0300 Subject: Adds nodo::subsystem::keyboard::thinkpad::abnt2 --- files/etc/console/boottime.kmap.gz.thinkpad.abnt2 | Bin 0 -> 27980 bytes files/etc/default/keyboard/thinkpad.abnt2 | 10 ++++++++++ manifests/subsystem/keyboard/thinkpad/abnt2.pp | 9 +++++++++ 3 files changed, 19 insertions(+) create mode 100644 files/etc/console/boottime.kmap.gz.thinkpad.abnt2 create mode 100644 files/etc/default/keyboard/thinkpad.abnt2 create mode 100644 manifests/subsystem/keyboard/thinkpad/abnt2.pp 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", + } +} -- cgit v1.2.3