]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Adds nodo::subsystem::keyboard::thinkpad::abnt2
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 14 Oct 2016 20:31:23 +0000 (17:31 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 14 Oct 2016 20:31:23 +0000 (17:31 -0300)
files/etc/console/boottime.kmap.gz.thinkpad.abnt2 [new file with mode: 0644]
files/etc/default/keyboard/thinkpad.abnt2 [new file with mode: 0644]
manifests/subsystem/keyboard/thinkpad/abnt2.pp [new file with mode: 0644]

diff --git a/files/etc/console/boottime.kmap.gz.thinkpad.abnt2 b/files/etc/console/boottime.kmap.gz.thinkpad.abnt2
new file mode 100644 (file)
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 (file)
index 0000000..f18fc73
--- /dev/null
@@ -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 (file)
index 0000000..53405d5
--- /dev/null
@@ -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",
+  }
+}