aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-21 14:42:37 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-02-21 14:42:37 -0300
commit520500520931f07899b63ff01d2715bfbafc110b (patch)
tree51883af5ec7c0ebb2b31bf5cb33238d3d66cee43
parentd293575b40ad98fd9dd050513cf961629357ff79 (diff)
downloadpuppet-nodo-520500520931f07899b63ff01d2715bfbafc110b.tar.gz
puppet-nodo-520500520931f07899b63ff01d2715bfbafc110b.tar.bz2
Adding keyboard class
-rw-r--r--manifests/subsystems/keyboard.pp22
1 files changed, 22 insertions, 0 deletions
diff --git a/manifests/subsystems/keyboard.pp b/manifests/subsystems/keyboard.pp
new file mode 100644
index 0000000..440f552
--- /dev/null
+++ b/manifests/subsystems/keyboard.pp
@@ -0,0 +1,22 @@
+class keyboard {
+ # Keyboard, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619711
+ file { "/etc/default/keyboard":
+ ensure => present,
+ owner => "root",
+ group => "root",
+ mode => 0644,
+ source => "puppet:///modules/site_nodo/keyboard/${::hostname}"
+ }
+
+ package { 'console-common':
+ ensure => present,
+ }
+
+ file { '/etc/console/boottime.kmap.gz':
+ ensure => present,
+ owner => "root",
+ group => "root",
+ mode => 0644,
+ source => "puppet:///modules/site_nodo/console/boottime.kmap.gz.${::hostname}"
+ }
+}